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
register socket's close event handler earlier instead of on last unsubscription
also use addEventListener instead of reassigning and losing the previous socket-like close handlers
this was causing a bug where only the first subscriber of a shared socket would have its handler invoked,
since its listener was only being registered when cleaning unsubscribers for the last subscription for a url
0 commit comments