Skip to content

Commit

Permalink
Merge pull request #74 from Alexintosh/bugfix/38-freezes-in-dock
Browse files Browse the repository at this point in the history
#38 avoiding the app to 'freeze' in dock after being closed
  • Loading branch information
Ejhfast committed Aug 17, 2017
2 parents 098828e + 09243e6 commit 7a1150f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ const app = electron.app;
const Menu = electron.Menu;
const BrowserWindow = electron.BrowserWindow;

app.on('window-all-closed', () => {
app.quit()
})

app.on('ready', () => {
mainWindow = new BrowserWindow({
height: 750,
Expand Down

0 comments on commit 7a1150f

Please sign in to comment.