Browse Source
Merge pull request #274 from LN-Zap/fix/close-zap-on-window-close
fix(window): quit zap application when closing window
renovate/lint-staged-8.x
JimmyMow
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
app/main.dev.js
|
|
@ -236,6 +236,9 @@ app.on('ready', async () => { |
|
|
|
|
|
|
|
mainWindow.on('closed', () => { |
|
|
|
mainWindow = null |
|
|
|
|
|
|
|
// shut down zap when a user closes the window
|
|
|
|
app.quit() |
|
|
|
}) |
|
|
|
|
|
|
|
const menuBuilder = new MenuBuilder(mainWindow) |
|
|
|