diff --git a/app/index.js b/app/index.js index 6bb3d179..568cb844 100644 --- a/app/index.js +++ b/app/index.js @@ -225,6 +225,9 @@ app.on('ready', () => { deleteSessions(); cfgUnsubscribe(); pluginsUnsubscribe(); + if (windowSet.size === 0) { + win.close(); + } }); }