SL-3136 Logout crash fixes from Ansariel Hiller

master
Andrey Kleshchev 2021-01-22 22:59:26 +02:00
parent bce4721097
commit a059e0d2e5
3 changed files with 8 additions and 0 deletions

View File

@ -226,6 +226,7 @@ Ansariel Hiller
SL-13364
SL-13858
SL-13697
SL-3136
Aralara Rajal
Arare Chantilly
CHUIBUG-191

View File

@ -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;

View File

@ -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()