Skip to content

Commit

Permalink
fix(background): fix exited unexpectedly on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
ysfscream authored and Red-Asuka committed Jul 28, 2022
1 parent 1d3abfe commit ed1beba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ async function createWindow() {

win.on('closed', () => {
win = null
console.log('App closed')
beforeAppQuit()
})
handleIpcMessages()
Expand Down

0 comments on commit ed1beba

Please sign in to comment.