зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
7d10504897
Коммит
3cd2cbee70
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче