fixed app not quitting completely on cmd-q

This commit is contained in:
Eugene Pankov
2021-08-27 18:26:57 +02:00
parent b84c41d668
commit bcf09c59e3
2 changed files with 9 additions and 7 deletions

View File

@@ -26,12 +26,6 @@ app.on('activate', () => {
}
})
app.on('window-all-closed', () => {
if (process.platform !== 'darwin') {
app.quit()
}
})
process.on('uncaughtException' as any, err => {
console.log(err)
application.broadcast('uncaughtException', err)