Don't call exit() from the signal handler

Fixes issue #457
This commit is contained in:
Ryan Dahl 2010-11-29 16:18:08 -08:00
parent 3fceb491d4
commit 711196cafa

View File

@ -1818,7 +1818,8 @@ static void AtExit() {
static void SignalExit(int signal) {
exit(1);
Stdio::DisableRawMode(STDIN_FILENO);
_exit(1);
}