Skip to content
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

Fix hang after SIGINT in debug mode #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mattness
Copy link

@mattness mattness commented May 4, 2013

Sending SIGINT (^c) to the process when in debug mode causes the
process to (at least appear to) hang, because the serial port is still
open. Instead of deleting our reference to the serialport, call its
close method, and then call process.exit in the handler for the close
event.

Sending SIGINT (^c) to the process when in debug mode causes the
process to (at least appear to) hang, because the serial port is still
open.  Instead of deleting our reference to the serialport, call its
close method, and then call process.exit in the handler for the close
event.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant