From 1dc789958fb861a35571c064aa13fdc5495937bb Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Tue, 5 May 2015 08:45:53 +0100 Subject: Remove now-unnecessary comment. --- background_scripts/main.coffee | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'background_scripts') diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index c599d19e..1b965314 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -599,9 +599,8 @@ registerFrame = (request, sender) -> (frameIdsForTab[sender.tab.id] ?= []).push request.frameId unregisterFrame = (request, sender) -> - # When a tab is closing, Chrome sometimes passes on messages without sender.tab. Therefore, we guard - # against this. - # FIXME(smblott) Consequently, we have a space leak in frameIdsForTab, tabInfoMap and urlForTab. + # When a tab is closing, Chrome sometimes passes messages without sender.tab. Therefore, we guard against + # this. tabId = sender.tab?.id if tabId? and frameIdsForTab[tabId]? if request.tab_is_closing -- cgit v1.2.3