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
{{ message }}
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
self.emit("disconnect")
is not going to pass any sort of reason.
Maybe the function needs to have err as its first parameter and then self.emit("disconnect", err)
The problem is happening on a friends computer so I can't debug to prove it just yet but will try to get a working example later.
Thought I should raise issue just in case it is something that was neglected.
The documentation seems to say onDisconnect event would have a reason. But it is not always the case?.