diff options
Diffstat (limited to 'indra/newview/llvoiceclient.cpp')
| -rw-r--r-- | indra/newview/llvoiceclient.cpp | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp index 3edd2b473c..71a9e71a9f 100644 --- a/indra/newview/llvoiceclient.cpp +++ b/indra/newview/llvoiceclient.cpp @@ -292,7 +292,14 @@ void LLVoiceClient::setHidden(bool hidden)  void LLVoiceClient::terminate()  { -    if (mSpatialVoiceModule) mSpatialVoiceModule->terminate(); +    if (LLVivoxVoiceClient::instanceExists()) +    { +        LLWebRTCVoiceClient::getInstance()->terminate(); +    } +    if (LLVivoxVoiceClient::instanceExists()) +    { +        LLVivoxVoiceClient::getInstance()->terminate(); +    }      mSpatialVoiceModule = NULL;      m_servicePump = NULL;  | 
