Make sure channels are dumped on SIGINT
This commit is contained in:
parent
d56d46c608
commit
0c26f68f1c
1 changed files with 1 additions and 2 deletions
|
|
@ -182,6 +182,5 @@ if(!Config.DEBUG) {
|
||||||
Logger.errlog.log(err.stack);
|
Logger.errlog.log(err.stack);
|
||||||
});
|
});
|
||||||
|
|
||||||
process.on("exit", Server.shutdown);
|
process.on("SIGINT", Server.shutdown);
|
||||||
process.on("SIGINT", function () { process.exit(0); });
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue