diff --git a/main/window.ts b/main/window.ts index 433ba82..6aa7785 100644 --- a/main/window.ts +++ b/main/window.ts @@ -82,6 +82,7 @@ export default class Window { close() { log.debug('Closing window:', this.account); + this.state.saveState(); this.state.unmanage(); this.browser.webContents.removeAllListeners(); this.browser.removeAllListeners();