diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-05-12 16:35:27 +0300 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-05-12 16:35:27 +0300 |
commit | 077841420cb1264b3a096f473f5005d83de94519 (patch) | |
tree | 2bb92d1fc771fa19502e77066b0152489da80f7a /indra | |
parent | f7872f7ed1aaf42a6dc4a7999a554f428f6dfe60 (diff) |
SL-19649 reduce logging out time for larger inventories
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llui/llview.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp index 10e4755cd3..a2f18daa12 100644 --- a/indra/llui/llview.cpp +++ b/indra/llui/llview.cpp @@ -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(); } } |