Refactor ZenTabUnloader to remove debug logging and optimize tab unloading

This commit is contained in:
mauro-balades 2024-09-26 18:50:28 +02:00
parent d840faf90d
commit 9cce473af8

View file

@ -133,7 +133,6 @@
const excludedUrls = this.excludedUrls;
for (const tab of this.unloader.tabs) {
if (this.unloader.canUnloadTab(tab, currentTimestamp, excludedUrls)) {
console.debug("ZenTabUnloader: Discarding tab", tab);
tab.ownerGlobal.gBrowser.discardBrowser(tab);
}
}