You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to keep a hash of currently opened resource ids so that I can clean up any data once the connection closes. I feel like this is a bug since the AtmosphereHandler documentation states that onStateChange is called when a connection is closed but if not, is there a better way to determine locally which connection terminated?
The text was updated successfully, but these errors were encountered:
Version 1.0.1
I can create a new connection, send multiple requests in from a client and a persistent resource uuid is always returned:
Creating a new connection:
Sending messages from client:
However, when I close the connection from the client, I am getting a new resource uuid in the onStateChange method.
I am trying to keep a hash of currently opened resource ids so that I can clean up any data once the connection closes. I feel like this is a bug since the AtmosphereHandler documentation states that onStateChange is called when a connection is closed but if not, is there a better way to determine locally which connection terminated?
The text was updated successfully, but these errors were encountered: