-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Disconnecting serial cable crashes node #587
Comments
I figured out why, this is bananas. Adding this to the backlog as |
I figured out why, this is bananas. Adding this to the backlog as |
Disconnect still removes all events but it does it after emitting We fixed a ton of bugs in our latest beta specifically ones addressing this issue. #733 Please try it out |
The CPU issue seems fixed but the port can't be reopened. Still an issue. |
Per #919 window's serialport poller will emit errors on disconnect that can't be caught. |
This is fixed with 5.0.0-beta6 |
on node 0.10.36 with serial port 1.7.4 on windows 7 64bit
If I run node with serial cable plugged, then unplug the cable, the node is crashed.
Here is my code:
The console output is:
Opened COM3
undefined:0
TypeError: undefined is not a function
I appreciate any input why error/close events are not triggered. Thanks!
The text was updated successfully, but these errors were encountered: