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 665680c088
commit e4b764e92b

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