Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f53684f

Browse filesBrowse files
committed
fix: quit app after setTimeout
1 parent 1c9ba42 commit f53684f
Copy full SHA for f53684f

File tree

1 file changed

+3
-1
lines changed
Filter options

1 file changed

+3
-1
lines changed

‎src/core/electron-main/app.ts

Copy file name to clipboardExpand all lines: src/core/electron-main/app.ts
+3-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.