window management fixes (fixes #426)

This commit is contained in:
Eugene Pankov
2018-09-20 13:02:07 +02:00
parent 6b49cdc974
commit e403a423b7
2 changed files with 5 additions and 1 deletions

View File

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