feat: Make sure sessions are correctly migrated on first run, b=no-bug, c=workspaces

This commit is contained in:
mr. m
2026-01-19 17:18:14 +01:00
parent f1871cfb6d
commit a3494d12e6
7 changed files with 55 additions and 19 deletions

View File

@@ -1129,6 +1129,7 @@ class nsZenWorkspaces {
(tab.pinned && tab.hasAttribute("zen-empty-tab") && !tab.group)
) {
// Remove any tabs where their workspace doesn't exist anymore
this.log("Removed zombie tab from non-existing workspace", tab);
gBrowser.unpinTab(tab);
gBrowser.removeTab(tab, {
skipSessionStore: true,