mirror of https://github.com/gorhill/uBlock.git
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) {
|
onPortDisconnect: function(port) {
|
||||||
this.ports.delete(port.name);
|
this.ports.delete(port.name);
|
||||||
|
void browser.runtime.lastError;
|
||||||
},
|
},
|
||||||
|
|
||||||
// https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/Port
|
// https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/Port
|
||||||
|
|
Loading…
Reference in New Issue