Skip to content

Commit

Permalink
window-all-closed
Browse files Browse the repository at this point in the history
  • Loading branch information
chatbookai committed Jun 3, 2024
1 parent 76ade4c commit e7471d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions express/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ app.on('activate', () => {

app.on('window-all-closed', () => {
if (process.platform !== 'darwin') {
server.close();
app.quit();
server.close(() => {
app.quit();
});
}
});

Expand Down

0 comments on commit e7471d1

Please sign in to comment.