1
0
mirror of https://github.com/rhysd/Mstdn.git synced 2025-01-21 20:52:11 +01:00

remember window state while switching account

This commit is contained in:
rhysd 2017-04-20 12:22:45 +09:00
parent 7746e26338
commit 04aab35ba2

View File

@ -82,6 +82,7 @@ export default class Window {
close() { close() {
log.debug('Closing window:', this.account); log.debug('Closing window:', this.account);
this.state.saveState();
this.state.unmanage(); this.state.unmanage();
this.browser.webContents.removeAllListeners(); this.browser.webContents.removeAllListeners();
this.browser.removeAllListeners(); this.browser.removeAllListeners();