nuclearace / Socket.IO-Client-Swift

socket.io-client for Swift
Other
361 stars 53 forks source link

Connect again after closing socket #5

Closed jjeon5 closed 9 years ago

jjeon5 commented 9 years ago

When I close the socket and then connect again, my listeners are called twice. I know that in the readme it says the socket shouldn't reconnect after closing, but is there any way to fix this? Thank you!

nuclearace commented 9 years ago

I'll look into it

nuclearace commented 9 years ago

If it is still happening now, something is adding the handlers to the socket again.

jjeon5 commented 9 years ago

solved with the close(fast:true) feature (Sorry for the late comment)