fix(core): save tab recovery state before disabling it on close (#11621)
This commit is contained in:
1 parent
4d01477ae0
commit
307c1c2aeb
1 file changed
+1
-1
@@ -472,8 +472,8 @@ export class AppService {
|
||||
}
|
||||
|
||||
async closeWindow (): Promise<void> {
|
||||
this.tabRecovery.enabled = false
|
||||
await this.tabRecovery.saveTabs(this.tabs)
|
||||
this.tabRecovery.enabled = false
|
||||
if (await this.closeAllTabs()) {
|
||||
this.hostWindow.close()
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user