We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2539cd9 commit 9f91de9Copy full SHA for 9f91de9
src/main.ts
@@ -79,7 +79,11 @@ async function startApp() {
79
try {
80
// Create native window
81
const appWindow = new AppWindow();
82
- appWindow.onClose(() => log.info('App window closed.'));
+ appWindow.onClose(() => {
83
+ if (quitting) return;
84
+ log.info('App window closed. Quitting application.');
85
+ app.quit();
86
+ });
87
88
// Load start screen - basic spinner
89
0 commit comments