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
Родитель 7d10504897
Коммит 3cd2cbee70
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");