Shutdown speaker volume storage before CRT does it

meow-7.2.2
Ansariel 2016-10-25 15:58:10 +02:00
parent 294c08bb03
commit e49e54ab3d
1 changed files with 7 additions and 0 deletions

View File

@ -183,6 +183,13 @@ void LLVoiceClient::terminate()
{
if (mVoiceModule) mVoiceModule->terminate();
mVoiceModule = NULL;
// <FS:Ansariel> Shutdown speaker volume storage before CRT does it
if (LLSpeakerVolumeStorage::instanceExists())
{
LLSpeakerVolumeStorage::deleteSingleton();
}
// <FS:Ansariel>
}
const LLVoiceVersionInfo LLVoiceClient::getVersion()