SL-19649 reduce logging out time for larger inventories
parent
4dcab10bf8
commit
d28e2c03a7
|
|
@ -576,8 +576,10 @@ void LLView::deleteAllChildren()
|
|||
|
||||
while (!mChildList.empty())
|
||||
{
|
||||
LLView* viewp = mChildList.front();
|
||||
delete viewp; // will remove the child from mChildList
|
||||
LLView* viewp = mChildList.front();
|
||||
viewp->mParentView = NULL;
|
||||
delete viewp;
|
||||
mChildList.pop_front();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue