mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix spurious browser error at the console
This commit is contained in:
parent
bec5d53ce0
commit
1b464f75cc
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue