Return immediately to fix errors appearing after exit #152

This commit is contained in:
Ben Gotow 2017-10-20 11:40:31 -07:00
parent 4c92fa788f
commit 1b7f7c7dfe

View file

@ -242,7 +242,8 @@ const start = () => {
if (otherInstanceRunning) { if (otherInstanceRunning) {
console.log('Exiting because another instance of the app is already running.'); console.log('Exiting because another instance of the app is already running.');
app.quit(); app.exit(1);
return;
} }
} }