mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 15:33:38 +01:00
Fix spurious browser error at the console
This commit is contained in:
parent
bec5d53ce0
commit
1b464f75cc
@ -958,6 +958,7 @@ vAPI.messaging = {
|
||||
|
||||
onPortDisconnect: function(port) {
|
||||
this.ports.delete(port.name);
|
||||
void browser.runtime.lastError;
|
||||
},
|
||||
|
||||
// https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/Port
|
||||
|
Loading…
Reference in New Issue
Block a user