We have a game using smartfox 2x server, latest server version and latest SDK version to this date
we build the game using Unity for Android, iOS and WebGL
we have a global listener to handle disconnections, it's being fired correctly on all platforms with one exception
when the same user logs in from another device or even a new browser tab the event isn't fired, and the browser stays unaware of the disconnection, the next time the user invokes any request to smart fox the browser console logs this line:
WebSocket is already in CLOSING or CLOSED state.
all other disconnections are working just fine, or at least what we have tested so far, disconnections due to inactivity for x seconds, kick, or manual disconnections, they all work and fire the event
Is this an expected behaviour? can we do anything about it? or this is unexpected and it's caused by something in our code?