fix(core): update

This commit is contained in:
Philipp Kunz 2019-05-28 10:34:57 +02:00
parent 7ad7749ba7
commit fe5e220087

View File

@ -59,6 +59,7 @@ export class SmartExit {
process.on('SIGINT', async () => { process.on('SIGINT', async () => {
ora.text('Ctrl-C... or SIGINT signal received!'); ora.text('Ctrl-C... or SIGINT signal received!');
await this.killAll(); await this.killAll();
process.exit(0);
}); });
//catch uncaught exceptions, trace, then exit normally //catch uncaught exceptions, trace, then exit normally