Skip to content

Commit

Permalink
fix error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmod committed Nov 19, 2024
1 parent 06defed commit 4ad49a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/adblocker.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ const contentScripts = (() => {
map.set(hostname, contentScript);
} catch (e) {
console.warn(e);
contentScripts.unregister(hostname);
this.unregister(hostname);
}
},
isRegistered(hostname) {
Expand Down

0 comments on commit 4ad49a1

Please sign in to comment.