Skip to content

Commit

Permalink
fix: don't intercept actual quit
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswhong committed Sep 9, 2019
1 parent 1ec2863 commit 7dc18d8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/main.development.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ app.on('ready', () =>
label: 'Quit Qri Desktop',
accelerator: 'Command+Q',
click () {
quitting = true; app.quit()
app.quit()
}
}
]
Expand Down Expand Up @@ -508,4 +508,8 @@ app.on('ready', () =>
app.on('activate', () => {
mainWindow.show()
})

app.on('before-quit', () => {
quitting = true
})
}))

0 comments on commit 7dc18d8

Please sign in to comment.