FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix hang after SIGINT in debug mode by mattness · Pull Request #37 · ecto/duino · GitHub

/ duino Public

Fix hang after SIGINT in debug mode - #37

Open
mattness wants to merge 1 commit into
ecto:masterfrom
mattness:sigint-hang
Open

Fix hang after SIGINT in debug mode#37
mattness wants to merge 1 commit into
ecto:masterfrom
mattness:sigint-hang

Conversation

mattness commented May 4, 2013

Copy link
Copy Markdown

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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL