Skip to content

Commit ed99bd6

Browse files
authored
Merge pull request shama#19 from elbiber/master
App Process
2 parents 4cdd81a + df82325 commit ed99bd6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
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)