mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-05 18:32:30 +01: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
@ -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 New Issue
Block a user