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:
Raymond Hill 2019-09-15 09:35:04 -04:00
parent 123e15451f
commit 55cc0c6997
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 2 additions and 2 deletions

View File

@ -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
});