1
0
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:
Raymond Hill 2024-09-07 16:47:43 -04:00
parent bec5d53ce0
commit 1b464f75cc
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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