Bug 664549 - Delete references to the tab when unlinking a TabItem. r=gavin

This commit is contained in:
Dão Gottwald
2011-06-16 06:41:14 +02:00
parent 5fbf984c8e
commit e7e5264d29

View File

@@ -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);