Skip to content

Commit

Permalink
chore: kill electron process on ctrl+c (#5366)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman committed Feb 9, 2021
1 parent d499cf0 commit d49a1d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/electron/electron.ts
Expand Up @@ -158,6 +158,9 @@ export class Electron {
cwd: options.cwd,
tempDirectories: [],
attemptToGracefullyClose: () => app!.close(),
handleSIGINT: true,
handleSIGTERM: true,
handleSIGHUP: true,
onExit: () => {},
});

Expand Down

0 comments on commit d49a1d8

Please sign in to comment.