Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Best way to disconnect socket when applicationDidEnterBackground: ? #93

Open
csar4231 opened this issue Apr 5, 2013 · 0 comments
Open

Comments

@csar4231
Copy link

csar4231 commented Apr 5, 2013

I'm trying to close the socket when application enter in background and make a [socketIO disconnect] , I have seen that the event is send but nothing is received because app is in background.
When you enter in foreground again sometimes your receive the disconnect message, other times you don't receive nothing.
Wich is the correct way to close the socket when entering in background?
Thanks in advance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant