Skip to content

Commit 9f91de9

Browse files
committed
Revert unrelated patch
1 parent 2539cd9 commit 9f91de9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@ async function startApp() {
7979
try {
8080
// Create native window
8181
const appWindow = new AppWindow();
82-
appWindow.onClose(() => log.info('App window closed.'));
82+
appWindow.onClose(() => {
83+
if (quitting) return;
84+
log.info('App window closed. Quitting application.');
85+
app.quit();
86+
});
8387

8488
// Load start screen - basic spinner
8589
try {

0 commit comments

Comments
 (0)