Skip to content

Commit

Permalink
Properly delete references to removed tabs (thanks Libor Polčák for p…
Browse files Browse the repository at this point in the history
…atch).
  • Loading branch information
hackademix committed Oct 7, 2023
1 parent ebfe3a5 commit 9c90294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/NavCache.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var NavCache = (() => {
});

browser.tabs.onRemoved.addListener(tabId => {
tabs.delete(tabId);
delete tabs[tabId];
});


Expand Down

0 comments on commit 9c90294

Please sign in to comment.