perf: ♻️ Optimize window control

This commit is contained in:
viarotel 2023-11-03 17:00:35 +08:00
parent 45d5030846
commit 0530ed38ef

View File

@ -116,6 +116,7 @@ app.whenReady().then(() => {
})
app.on('window-all-closed', () => {
app.isQuiting = true
app.quit()
mainWindow = null
})