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 | |
| parent | bce4721097d33b324db0331ed40bb2e5f45c4d14 (diff) | |
SL-3136 Logout crash fixes from Ansariel Hiller
| -rwxr-xr-x | doc/contributions.txt | 1 | ||||
| -rw-r--r-- | indra/newview/llattachmentsmgr.cpp | 1 | ||||
| -rw-r--r-- | indra/newview/llvoiceclient.cpp | 6 | 
3 files changed, 8 insertions, 0 deletions
| diff --git a/doc/contributions.txt b/doc/contributions.txt index bbdfaf655d..c5d58cec9b 100755 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -226,6 +226,7 @@ Ansariel Hiller  	SL-13364  	SL-13858  	SL-13697 +	SL-3136  Aralara Rajal  Arare Chantilly  	CHUIBUG-191 diff --git a/indra/newview/llattachmentsmgr.cpp b/indra/newview/llattachmentsmgr.cpp index d3e66289d1..0fd6009074 100644 --- a/indra/newview/llattachmentsmgr.cpp +++ b/indra/newview/llattachmentsmgr.cpp @@ -248,6 +248,7 @@ void LLAttachmentsMgr::linkRecentlyArrivedAttachments()          {              if (isAgentAvatarValid() &&                  gAgentAvatarp->isWearingAttachment(*it) && +                !gAgentAvatarp->getWornAttachment(*it)->isTempAttachment() && // Don't link temp attachments in COF!                  !LLAppearanceMgr::instance().isLinkedInCOF(*it))              {                  LLUUID item_id = *it; 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() | 
