Skip to content

Commit

Permalink
GH-815: Fixed incorrect signal even when terminating process.
Browse files Browse the repository at this point in the history
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
  • Loading branch information
kittaakos committed Nov 20, 2017
1 parent d44bd12 commit 5f4a5df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/core/src/node/backend-application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ export class BackendApplication {
process.on('exit', () => this.onStop());
// Handles `Ctrl+C`.
process.on('SIGINT', () => this.onStop());
// Handles `kill pid`
process.on('SIGUSR1', () => this.onStop());
process.on('SIGUSR2', () => this.onStop());
// Handles `kill pid`.
process.on('SIGTERM', () => this.onStop());

for (const contribution of this.contributionsProvider.getContributions()) {
if (contribution.initialize) {
Expand Down

0 comments on commit 5f4a5df

Please sign in to comment.