aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--background_scripts/main.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index cac35100..5c6e8e19 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -393,7 +393,7 @@ HintCoordinator =
unregisterFrame: (tabId, frameId) ->
delete @tabState[tabId]?.ports?[frameId]
# We fake "postHintDescriptors" for an unregistering frame.
- @postHintDescriptors tabId, frameId, hintDescriptors: []
+ @postHintDescriptors tabId, frameId, hintDescriptors: [] if @tabState[tabId]?.frameIds
# Port handler mapping
portHandlers =