mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
Return immediately to fix errors appearing after exit #152
This commit is contained in:
parent
4c92fa788f
commit
1b7f7c7dfe
1 changed files with 2 additions and 1 deletions
|
@ -242,7 +242,8 @@ const start = () => {
|
|||
|
||||
if (otherInstanceRunning) {
|
||||
console.log('Exiting because another instance of the app is already running.');
|
||||
app.quit();
|
||||
app.exit(1);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue