mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
code review for #438
This commit is contained in:
parent
2fed750ac9
commit
aed66e5278
1 changed files with 1 additions and 0 deletions
|
|
@ -1039,6 +1039,7 @@ FilterContainer.prototype.pruneSelectorCacheAsync = function() {
|
||||||
// console.debug('pruneSelectorCacheAsync: flushing "%s"', hostname);
|
// console.debug('pruneSelectorCacheAsync: flushing "%s"', hostname);
|
||||||
entry.dispose();
|
entry.dispose();
|
||||||
delete cache[hostname];
|
delete cache[hostname];
|
||||||
|
this.selectorCacheCount -= 1;
|
||||||
}
|
}
|
||||||
this.triggerSelectorCachePruner();
|
this.triggerSelectorCachePruner();
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue