mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-14 09:13:01 +08:00
fix(db): Use SIGTERM instead of signal 1
This commit is contained in:
parent
e38d7b10ea
commit
ecabe81a2c
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ class DatabaseStore extends NylasStore {
|
|||
});
|
||||
this._agent.on('error', (err) => {
|
||||
console.error(DEBUG_TO_LOG, `Query Agent: failed to start or receive message: ${err.toString()}`);
|
||||
this._agent.kill(1);
|
||||
this._agent.kill('SIGTERM');
|
||||
this._agent = null;
|
||||
});
|
||||
this._agent.on('message', ({type, id, results, agentTime}) => {
|
||||
|
|
Loading…
Reference in a new issue