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
[fix] Disconnect websocket on page reload to prevent missed notifications #264
When users click "Save" or "Save and Continue", the page reloads and
closes the websocket connection. If a background task completes during
this reload, the notification is lost because there's no active
websocket connection to receive it.
This change explicitly disconnects the websocket on beforeunload,
ensuring the server knows the client is unavailable. When the page
reloads and the websocket reconnects, any queued notifications will
be delivered properly.
Fixes#264
0 commit comments