summaryrefslogtreecommitdiff
path: root/indra/newview/llviewercontrol.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2020-11-17 14:15:06 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2020-11-17 14:15:06 +0200
commitdd887e24d5afd103f3b7b5ca756daad50c46953e (patch)
tree52477a28101a5046afe44632de31308577b041fe /indra/newview/llviewercontrol.cpp
parent47434d85b7dca5cdfef04d1a646d54903e6dea9d (diff)
SL-14342 FIXED Crash: "Uninitialized param singleton LLVoiceClient"
Diffstat (limited to 'indra/newview/llviewercontrol.cpp')
-rw-r--r--indra/newview/llviewercontrol.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp
index 8aa5b07561..76dc9a6790 100644
--- a/indra/newview/llviewercontrol.cpp
+++ b/indra/newview/llviewercontrol.cpp
@@ -510,7 +510,10 @@ bool handleHighResSnapshotChanged(const LLSD& newvalue)
bool handleVoiceClientPrefsChanged(const LLSD& newvalue)
{
- LLVoiceClient::getInstance()->updateSettings();
+ if (LLVoiceClient::instanceExists())
+ {
+ LLVoiceClient::getInstance()->updateSettings();
+ }
return true;
}