Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@AlecM33
Copy link
Owner

@AlecM33 AlecM33 commented Nov 21, 2023

we were not closing the connection when the window is unloaded. This could lead to behavior in certain browsers where, if we use back/forward navigation, a cached page is served and the socket connection is not immediately restored. There's no visual feedback this has occurred - socket events will just hang indefinitely until eventually the disconnect is detected and the client reconnects.

@AlecM33 AlecM33 merged commit b6e22b9 into master Nov 21, 2023
@AlecM33 AlecM33 deleted the close-on-unload branch November 21, 2023 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants