mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
fix: Fixed unloading multiple tabs inside an active folder, b=no-bug, c=folders
This commit is contained in:
@@ -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 = [];
|
||||
}
|
||||
|
Reference in New Issue
Block a user