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
Silently closing the connection when receiving a "beforeunload" event
is problematic, because it is emitted:
- when downloading a file from another host
Related: socketio/socket.io#4436
- when the user already has a listener for the "beforeunload" event
(i.e. "are you sure you want to leave this page?")
Related:
- #661
- #658
- socketio/socket.io#4065
That's why the `closeOnBeforeunload` option will now default to false.
0 commit comments