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 1092cbc commit 5a0ca0dCopy full SHA for 5a0ca0d
src/main/main.ts
@@ -254,9 +254,8 @@ app.on('before-quit', (e) => {
254
// monitor node's statuses and alert the user when a node is down, and to continuously
255
// track node usage.
256
e.preventDefault(); // halts electron's full quitting action
257
- // todo: close windows?
+ mainWindow?.close(); // close the main window
258
if (process.platform === 'darwin' && app.dock) {
259
- mainWindow?.close(); // close the main window
260
app.dock.hide(); // app appears "quitted" in the dock
261
}
262
0 commit comments