mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
Bug 664549 - Delete references to the tab when unlinking a TabItem. r=gavin
This commit is contained in:
parent
665680c088
commit
e4b764e92b
@ -1082,6 +1082,9 @@ let TabItems = {
|
||||
tab._tabViewTabItem.removeTrenches();
|
||||
Items.unsquish(null, tab._tabViewTabItem);
|
||||
|
||||
tab._tabViewTabItem.tab = null;
|
||||
tab._tabViewTabItem.tabCanvas.tab = null;
|
||||
tab._tabViewTabItem.tabCanvas = null;
|
||||
tab._tabViewTabItem = null;
|
||||
Storage.saveTab(tab, null);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user