fix(core): Enforce shutdown timer and sequence on SIGINT for main (#10346)

This commit is contained in:
Iván Ovejero
2024-08-12 11:41:21 +02:00
committed by GitHub
parent b044e783e7
commit 5255793afe
2 changed files with 2 additions and 2 deletions

View File

@@ -332,7 +332,7 @@ export class Start extends BaseCommand {
this.openBrowser();
} else if (key.charCodeAt(0) === 3) {
// Ctrl + c got pressed
void this.stopProcess();
void this.onTerminationSignal('SIGINT')();
} else {
// When anything else got pressed, record it and send it on enter into the child process