mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 23:42:39 +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) {
|
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
Block a user