mirror of https://github.com/gorhill/uBlock.git
code review for #438
This commit is contained in:
parent
2fed750ac9
commit
aed66e5278
|
@ -1039,6 +1039,7 @@ FilterContainer.prototype.pruneSelectorCacheAsync = function() {
|
|||
// console.debug('pruneSelectorCacheAsync: flushing "%s"', hostname);
|
||||
entry.dispose();
|
||||
delete cache[hostname];
|
||||
this.selectorCacheCount -= 1;
|
||||
}
|
||||
this.triggerSelectorCachePruner();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue