mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix regression from promisification work
Related commit:
- e27328f931
The regression was preventing the compiled filter
lists from being properly loaded by uBO, thus
always causing a full parsing/compiling at
launch time.
This commit is contained in:
parent
123e15451f
commit
55cc0c6997
1 changed files with 2 additions and 2 deletions
|
|
@ -376,7 +376,7 @@ const saveAssetSourceRegistry = (( ) => {
|
|||
let timer;
|
||||
const save = function() {
|
||||
timer = undefined;
|
||||
µBlock.cacheStorage.set({ assetSourceRegistry: assetSourceRegistry });
|
||||
µBlock.cacheStorage.set({ assetSourceRegistry });
|
||||
};
|
||||
return function(lazily) {
|
||||
if ( timer !== undefined ) {
|
||||
|
|
@ -533,7 +533,7 @@ const assetCacheWrite = async function(assetKey, details) {
|
|||
entry.remoteURL = details.url;
|
||||
}
|
||||
µBlock.cacheStorage.set({
|
||||
cacheDict,
|
||||
assetCacheRegistry,
|
||||
[`cache/${assetKey}`]: content
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue