mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-21 07:46:06 +08:00
Return immediately to fix errors appearing after exit #152
This commit is contained in:
parent
4c92fa788f
commit
1b7f7c7dfe
|
@ -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