fix: Fixed PGO builds causing daily builds to fail, b=no-bug, c=workspaces

This commit is contained in:
mr. m
2025-12-30 12:55:32 +01:00
parent 639eb9a267
commit 810d959fbf
2 changed files with 6 additions and 6 deletions

View File

@@ -865,7 +865,7 @@ class nsZenWorkspaces {
}
async restoreWorkspacesFromSessionStore(aWinData = {}) {
if (this.#hasInitialized) {
if (this.#hasInitialized || !this.workspaceEnabled) {
return;
}
const spacesFromStore = aWinData.spaces || [];