Fix for bug 145309. [turbo] On exit after unloading accts we are again loading accts because we are rebuilding tree

r=varga, sr=jag, patch by waterson
This commit is contained in:
varga%netscape.com 2003-07-08 13:56:58 +00:00
Родитель c6ec6b4801
Коммит 16f19f36b0
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -800,6 +800,10 @@ nsXULTreeBuilder::SetTree(nsITreeBoxObject* tree)
mBoxObject = tree;
// If this is teardown time, then we're done.
if (! mBoxObject)
return NS_OK;
nsCOMPtr<nsIDocument> doc;
mRoot->GetDocument(getter_AddRefs(doc));
NS_ASSERTION(doc, "element has no document");