fix(core): update
This commit is contained in:
parent
7ad7749ba7
commit
fe5e220087
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user