mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-14 03:32:06 +00:00
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);
|
||||
});
|
||||
|
||||
process.on("exit", Server.shutdown);
|
||||
process.on("SIGINT", function () { process.exit(0); });
|
||||
process.on("SIGINT", Server.shutdown);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue