Skip to content

Commit

Permalink
Fix spurious browser error at the console
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Sep 7, 2024
1 parent bec5d53 commit 1b464f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/common/vapi-background.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b464f7

Please sign in to comment.