Skip to content

Commit

Permalink
perf: ♻️ Optimize window control
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Nov 3, 2023
1 parent 45d5030 commit 0530ed3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ app.whenReady().then(() => {
})

app.on('window-all-closed', () => {
app.isQuiting = true
app.quit()
mainWindow = null
})

0 comments on commit 0530ed3

Please sign in to comment.