fix(core): save tab recovery state before disabling it on close (#11621)

This commit is contained in:
Utkarsh Adhran authored and GitHub committed 2026-09-11 21:06:56 +02:00
1 parent 4d01477ae0
commit 307c1c2aeb
1 file changed
+1 -1
+1 -1
View File
@@ -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 {