diff --git a/express/main.js b/express/main.js index e81d11c..bba2535 100644 --- a/express/main.js +++ b/express/main.js @@ -87,8 +87,9 @@ app.on('activate', () => { app.on('window-all-closed', () => { if (process.platform !== 'darwin') { - server.close(); - app.quit(); + server.close(() => { + app.quit(); + }); } });