From 4ad49a18b8130214a55c5a722ede60e202585b42 Mon Sep 17 00:00:00 2001 From: Krzysztof Modras Date: Tue, 19 Nov 2024 15:57:44 +0100 Subject: [PATCH] fix error handling --- src/background/adblocker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/background/adblocker.js b/src/background/adblocker.js index 916430e4c..61dfbe580 100644 --- a/src/background/adblocker.js +++ b/src/background/adblocker.js @@ -191,7 +191,7 @@ const contentScripts = (() => { map.set(hostname, contentScript); } catch (e) { console.warn(e); - contentScripts.unregister(hostname); + this.unregister(hostname); } }, isRegistered(hostname) {