Browse Source

fix(window): quit zap application when closing window

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
3fa7c28efe
  1. 3
      app/main.dev.js

3
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)

Loading…
Cancel
Save