Multiple SIGINT signals sent to node process while in shutdown cycle.

- Overrode the sigint listener if in the shutdown cycle. This prevents control being returned to the pty before the node process is fully halted.
This commit is contained in:
Chris Kleeschulte 2015-09-11 12:39:33 -04:00
parent c8b0dd0999
commit 60a133f36c
1 changed files with 1 additions and 0 deletions

View File

@ -153,6 +153,7 @@ function registerExitHandlers(_process, node) {
});
}
if (options.sigint) {
_process.on('SIGINT', function(){});
cleanShutdown(_process, node);
}
}