-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssh "connect" event is not fired when connected after close() #23
Comments
BTW, I believe this is somehow related to 'ssh.close()' not really closing when called after connected the second time. That's why I hesitate to report this fact as a new bug. What do you think? |
There is a problem when closing the connection - the array Then, in @sanketbajoria
This doesn't fix the strange sequence of "beforedisconnect", though. |
@jeffrson |
Is a fix for this coming? I've observed lots of weird behaviour around reconnects that seems to be related to the issues described here. |
Any updates yet? |
Here is a short test:
it results in
As you can see, there's no 'connect' after close. Furthermore, two 'connect' on the first try seem strange as well as the second 'beforedisconnect' after 'disconnect'.
The text was updated successfully, but these errors were encountered: