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
if FiveBeansClient.prototype.connect() called more than once, a callback for an old socket command may exist in self.handlers even after a new socket is created. In this case, the first command with the new socket will stuck, because its callback will not be called (a callback for the old socket will be called instead).
@ceejbot although this bug could be easily worked around in user code, since there is a PR ready, could you please consider merging it? The bug is quite annoying as the client generates misleading errors after just re-connecting.
@ceejbot,
if
FiveBeansClient.prototype.connect()
called more than once, a callback for an old socket command may exist inself.handlers
even after a new socket is created. In this case, the first command with the new socket will stuck, because its callback will not be called (a callback for the old socket will be called instead).Suggested fix: #132.
The text was updated successfully, but these errors were encountered: