diff options
| -rw-r--r-- | background_scripts/main.coffee | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index addbf514..62e32539 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -357,7 +357,11 @@ HintCoordinator =    sendMessage: (messageType, tabId, request = {}) ->      extend request, {handler: "linkHintsMessage", messageType} -    port.postMessage request for own _, port of @tabState[tabId].ports +    for own frameId, port of @tabState[tabId].ports +      try +        port.postMessage request +      catch +        @unregisterFrame tabId, frameId    prepareToActivateMode: (tabId, originatingFrameId, {modeIndex}) ->      @tabState[tabId] = {frameIds: frameIdsForTab[tabId][..], hintDescriptors: [], originatingFrameId, modeIndex} | 
