diff --git a/electron/main.js b/electron/main.js index 7068f912ed..75a9864bbc 100644 --- a/electron/main.js +++ b/electron/main.js @@ -41,8 +41,10 @@ let shouldQuitBecauseAppIsAnotherInstance = app.makeSingleInstance(() => { mainWin.focus(); } }); + if (shouldQuitBecauseAppIsAnotherInstance) { quitApp(); + return; } // APP EVENT LISTENERS