bug 1336901 - remove incorrect assert r=yzen

There are cases where there is no good reason to shutdown the child document
actors before the parent.  For example when TabParent::DestroyInternal() is
about to send the Destroy message we might as well just shut down the top level
document and let that tear down the rest.
This commit is contained in:
Trevor Saunders 2017-02-06 01:27:49 -05:00
Родитель a7e68b58ed
Коммит 83b95e091a
1 изменённых файлов: 0 добавлений и 2 удалений

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

@ -461,8 +461,6 @@ DocAccessibleParent::Destroy()
return;
}
NS_ASSERTION(mChildDocs.IsEmpty(),
"why weren't the child docs destroyed already?");
mShutdown = true;
uint32_t childDocCount = mChildDocs.Length();