fix: Fixed unloading multiple tabs inside an active folder, b=no-bug, c=folders

This commit is contained in:
mr. m
2025-08-26 20:52:51 +02:00
parent 0979c5dbbc
commit ce24d867a2

View File

@@ -238,9 +238,9 @@
this.#unloadAllActiveTabs(event, /* noClose */ true);
}
#unloadAllActiveTabs(event, noClose = false) {
async #unloadAllActiveTabs(event, noClose = false) {
for (const tab of this.tabs) {
gZenPinnedTabManager._onCloseTabShortcut(event, tab, { noClose });
await gZenPinnedTabManager._onCloseTabShortcut(event, tab, { noClose });
}
this.activeTabs = [];
}