diff --git a/apps/electron/src/main/main-window.ts b/apps/electron/src/main/main-window.ts index 2cb21795f..05f65bab9 100644 --- a/apps/electron/src/main/main-window.ts +++ b/apps/electron/src/main/main-window.ts @@ -98,7 +98,6 @@ async function createWindow() { // close and destroy all windows BrowserWindow.getAllWindows().forEach(w => { if (!w.isDestroyed()) { - w.close(); w.destroy(); } });