diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-01-22 22:59:26 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-01-22 23:01:58 +0200 |
commit | a059e0d2e5f515376abc0a8a0d2c6ad32e3b2639 (patch) | |
tree | 273fb9a89575865c4e46ce22871f44f537a439c6 /indra/newview/llvoiceclient.cpp | |
parent | bce4721097d33b324db0331ed40bb2e5f45c4d14 (diff) |
SL-3136 Logout crash fixes from Ansariel Hiller
Diffstat (limited to 'indra/newview/llvoiceclient.cpp')
-rw-r--r-- | indra/newview/llvoiceclient.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp index 6991ca6698..06e20038c5 100644 --- a/indra/newview/llvoiceclient.cpp +++ b/indra/newview/llvoiceclient.cpp @@ -181,6 +181,12 @@ void LLVoiceClient::terminate() if (mVoiceModule) mVoiceModule->terminate(); mVoiceModule = NULL; m_servicePump = NULL; + + // Shutdown speaker volume storage before LLSingletonBase::deleteAll() does it + if (LLSpeakerVolumeStorage::instanceExists()) + { + LLSpeakerVolumeStorage::deleteSingleton(); + } } const LLVoiceVersionInfo LLVoiceClient::getVersion() |