summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-10-28 18:41:10 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-10-28 21:25:38 +0300
commit404e69e5945d357d70bd2da684b7a3dbedd1579d (patch)
tree8475939464b841964914ec14327db6fb54bb89a0 /indra/newview/llappviewer.cpp
parent8acce67f95bab5bfae06a2f5d9de8bf9234c8b21 (diff)
SL-15462 Convert waitForChannel() into state machine
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r--indra/newview/llappviewer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 3ec6d3f90e..f668dc754d 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -1520,6 +1520,12 @@ bool LLAppViewer::doFrame()
{
pauseMainloopTimeout();
saveFinalSnapshot();
+
+ if (LLVoiceClient::instanceExists())
+ {
+ LLVoiceClient::getInstance()->terminate();
+ }
+
disconnectViewer();
resumeMainloopTimeout();
}