Skip to content

closeOnBeforeunload not working properly after upgrading to socketio v4.7.5 #5055

You must be logged in to vote

Hi! When setting closeOnBeforeunload: false, the Socket instance will indeed emit a disconnect event when the user reloads the page on Firefox.

Reference: https://socket.io/docs/v4/client-options/#closeonbeforeunload

Replies: 3 comments 1 reply

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies
Answer selected by darrachequesne

You must be logged in to vote
1 reply
@darrachequesne

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants