fix: Fixed crash on macos when quiting and glance opening a new window, b=bug #11416 and bug https://github.com/zen-browser/desktop/issues/11409, c=common, compact-mode, glance, tabs, workspaces

This commit is contained in:
mr. m
2025-11-27 16:43:51 +01:00
parent 1d36f05abc
commit 833caf2f81
8 changed files with 74 additions and 48 deletions

View File

@@ -51,7 +51,11 @@ class nsZenWorkspaces extends nsZenMultiWindowFeature {
if (this.privateWindowOrDisabled) {
return;
}
await Promise.all([this.promiseDBInitialized, this.promisePinnedInitialized]);
await Promise.all([
this.promiseDBInitialized,
this.promisePinnedInitialized,
SessionStore.promiseAllWindowsRestored,
]);
}
async init() {