summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-06-11 01:03:22 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-06-11 18:15:25 +0300
commit02bb6c4b677e58a2513b238e5f5d41815e546d15 (patch)
tree80e06b63197a9d8e6fe4777f14482ac558ece050
parent88314fdf1bd81b5caa6419620c6fe3186a49a9ec (diff)
#5917 Fix crash on deleted LLVoiceClient
-rw-r--r--indra/newview/llvoicechannel.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp
index 0852258994..6a5e80365b 100644
--- a/indra/newview/llvoicechannel.cpp
+++ b/indra/newview/llvoicechannel.cpp
@@ -128,6 +128,12 @@ void LLVoiceChannel::onChange(EStatusType type, const LLSD& channelInfo, bool pr
{
mChannelInfo = channelInfo;
}
+
+ if (!LLVoiceClient::instanceExists())
+ {
+ return;
+ }
+
if (!LLVoiceClient::getInstance()->compareChannels(mChannelInfo, channelInfo))
{
return;