mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-02 00:42:45 +01:00
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);
|
// 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 New Issue
Block a user