summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-12-12 00:15:29 +0200
committerakleshchev <117672381+akleshchev@users.noreply.github.com>2023-12-12 00:40:22 +0200
commit8c1aa6d6623995e56e1cf5de127befcf9033c8ca (patch)
tree21f20ecba60349b832d4d4f9bbc6967a7eee4262 /indra/newview/llviewermessage.cpp
parent810a3d24c2e3671f926091c062b101bdec6a1517 (diff)
SL-20714 Crash accessing mControlAVBridge
Looks like control avatar was recreated after cleanup then object was deleted
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r--indra/newview/llviewermessage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 8b6a6807e4..c50365db2a 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -4229,7 +4229,7 @@ void process_object_animation(LLMessageSystem *mesgsys, void **user_data)
LLObjectSignaledAnimationMap::instance().getMap()[uuid] = signaled_anims;
LLViewerObject *objp = gObjectList.findObject(uuid);
- if (!objp)
+ if (!objp || objp->isDead())
{
LL_DEBUGS("AnimatedObjectsNotify") << "Received animation state for unknown object " << uuid << LL_ENDL;
return;