mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-01 10:33:14 +08:00
Add sigterm
This commit is contained in:
parent
a45306729f
commit
124f0a9579
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ class SyncProcessManager {
|
||||||
this.updateHeartbeat();
|
this.updateHeartbeat();
|
||||||
|
|
||||||
process.on('SIGINT', () => this.onSigInt());
|
process.on('SIGINT', () => this.onSigInt());
|
||||||
|
process.on('SIGTERM', () => this.onSigInt());
|
||||||
}
|
}
|
||||||
|
|
||||||
updateHeartbeat() {
|
updateHeartbeat() {
|
||||||
|
|
Loading…
Reference in a new issue