summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2026-05-11 23:35:24 +0300
committerGitHub <noreply@github.com>2026-05-11 23:35:24 +0300
commit6b945de4e55b471100b534fd4b1f02d1443b19ea (patch)
tree57974cbf2997767846b7af53e2849f5fea2e587e
parentda71b0bafe1e607c145218b178526f1eafb81019 (diff)
#5784 fix crash at LLViewerRegion::killInvisibleObjects
-rwxr-xr-xindra/newview/llviewerregion.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp
index 42a587f376..fd56a8d0c7 100755
--- a/indra/newview/llviewerregion.cpp
+++ b/indra/newview/llviewerregion.cpp
@@ -1768,6 +1768,11 @@ void LLViewerRegion::killInvisibleObjects(F32 max_time)
if(iter == mImpl->mActiveSet.end())
{
iter = mImpl->mActiveSet.begin();
+ if (iter == mImpl->mActiveSet.end())
+ {
+ // Set became empty
+ break;
+ }
}
if((*iter)->getParentID() > 0)
{