Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IMPROVEMENT: 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
- Loading branch information