Skip to content
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.

Fix list updating inifite loading #21

Merged
merged 1 commit into from
Oct 16, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion platform/edge/vapi-background.js
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,12 @@ vAPI.messaging.broadcast = function(message) {
if ( this.ports.hasOwnProperty(portName) === false ) {
continue;
}
this.ports[portName].postMessage(messageWrapper);
// Do not stop broadcasting upon errors,
// workaround for Edge 'handle is invalid' error
try {
this.ports[portName].postMessage(messageWrapper);
} catch(e) {
}
}
};

Expand Down