From cbca48307c50d4e243462c4c86af03453bbdf766 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 9 Feb 2017 13:33:32 -0500 Subject: [PATCH] fix https://github.com/gorhill/uBlock/pull/2314#issuecomment-278716960 --- src/js/messaging.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/js/messaging.js b/src/js/messaging.js index 20ec0e3ca..776cf1928 100644 --- a/src/js/messaging.js +++ b/src/js/messaging.js @@ -987,6 +987,10 @@ var onMessage = function(request, sender, callback) { case 'purgeCache': µb.assets.purge(request.assetKey); µb.assets.remove('compiled/' + request.assetKey); + // https://github.com/gorhill/uBlock/pull/2314#issuecomment-278716960 + if ( request.assetKey === 'ublock-filters' ) { + µb.assets.purge('ublock-resources'); + } break; case 'readHiddenSettings':