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