Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit df82325

Browse files
author
Willy Weise
committedAug 1, 2018
Added app.quit() at main/index.js when closing the window so that process of the app quits running in the background
1 parent 4cdd81a commit df82325

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎electron-webpack-vuejs/src/main/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,8 @@ app.on('ready', () => {
1717
slashes: true
1818
}))
1919
}
20+
window.on('closed', function(){
21+
window = null
22+
app.quit()
23+
})
2024
})

0 commit comments

Comments
 (0)
Failed to load comments.