mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 04:29:58 +02:00
Refactor ZenTabUnloader to remove debug logging and optimize tab unloading
This commit is contained in:
parent
d840faf90d
commit
9cce473af8
1 changed files with 0 additions and 1 deletions
|
@ -133,7 +133,6 @@
|
||||||
const excludedUrls = this.excludedUrls;
|
const excludedUrls = this.excludedUrls;
|
||||||
for (const tab of this.unloader.tabs) {
|
for (const tab of this.unloader.tabs) {
|
||||||
if (this.unloader.canUnloadTab(tab, currentTimestamp, excludedUrls)) {
|
if (this.unloader.canUnloadTab(tab, currentTimestamp, excludedUrls)) {
|
||||||
console.debug("ZenTabUnloader: Discarding tab", tab);
|
|
||||||
tab.ownerGlobal.gBrowser.discardBrowser(tab);
|
tab.ownerGlobal.gBrowser.discardBrowser(tab);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue