shuoli84 / SocketIOCocoa

The socket 1.0 client in Swift
175 stars 11 forks source link

SocketIOClient clean its state after close called #17

Closed shuoli84 closed 9 years ago

shuoli84 commented 9 years ago

Regarding #13, the reason why the client not able to be reused is the blocks passed into the dispatch queue can't be cancelled. Which means after close() calls, the previous enqueued blocks can execute again, makes the whole instance in a messy state.