diff options
| -rw-r--r-- | background_page.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/background_page.html b/background_page.html index ef24a241..a07c4507 100644 --- a/background_page.html +++ b/background_page.html @@ -331,6 +331,10 @@ delete openTabs[tabId]; }); + + chrome.windows.onRemoved.addListener(function(windowId) { + delete tabQueue[windowId]; + }); function restoreTab(callback) { // TODO(ilya): Should this be getLastFocused instead? |
