chore: kill electron process on ctrl+c (#5366)
This commit is contained in:
parent
d499cf08d1
commit
d49a1d8174
|
|
@ -158,6 +158,9 @@ export class Electron {
|
|||
cwd: options.cwd,
|
||||
tempDirectories: [],
|
||||
attemptToGracefullyClose: () => app!.close(),
|
||||
handleSIGINT: true,
|
||||
handleSIGTERM: true,
|
||||
handleSIGHUP: true,
|
||||
onExit: () => {},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue