Skip to content

Commit f53684f

Browse files
committed
fix: quit app after setTimeout
1 parent 1c9ba42 commit f53684f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/electron-main/app.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ export class ElectronMainApp {
6666
app.removeListener('before-quit', handleBeforeQuit)
6767
app.removeListener('window-all-closed', handleWindowAllClose)
6868
this.logger.debug('lifecycle#will-quit')
69-
app.quit()
69+
setTimeout(() => {
70+
app.quit()
71+
})
7072
})
7173
})
7274
}

0 commit comments

Comments
 (0)