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
Includes
- [fix] [#380] Show correct (false) `:open?` state when Firefox unloading
- [new] More robust detection of client-unloading state
- [new] Client `:chsk/state` event now includes a 3rd `open-changed?` element:
[<old-state-map> <new-state-map> <open-changed?>]
- [new] Add ChWebSocket socket handle mechanism to ensure that socket events
from old sockets don't produce noise, or pollute chsk state
Includes
- [fix] [#380] Show correct (false) `:open?` state when Firefox unloading
- [new] More robust detection of client-unloading state
- [new] Client `:chsk/state` event now includes a 3rd `open-changed?` element:
[<old-state-map> <new-state-map> <open-changed?>]
- [new] Add ChWebSocket socket handle mechanism to ensure that socket events
from old sockets don't produce noise, or pollute chsk state
When Firefox navigates to another page and the websocket disconnects,
:chks/state
is fired, but it erroneously contains:open? true
.From browser console:
new-state-map
contains:open? true
, even though the connection is closed.The relevant debug print is called from here:
https://github.com/ptaoussanis/sente/blob/80d9acd64f86ea2288d48a17c94443e1358fd8ab/src/taoensso/sente.cljc#L1226-L1232
Firefox 81.0
The text was updated successfully, but these errors were encountered: