SL-12169 Crash on setToolBarsVisible() during exit

meow-7.2.2
andreykproductengine 2019-10-22 19:05:29 +03:00
parent 07635d22f5
commit 88100d8f62
1 changed files with 8 additions and 0 deletions

View File

@ -2022,6 +2022,14 @@ U8 LLAgent::getRenderState()
//-----------------------------------------------------------------------------
void LLAgent::endAnimationUpdateUI()
{
if (LLApp::isExiting()
|| !gViewerWindow
|| !gMenuBarView
|| !gToolBarView
|| !gStatusBar)
{
return;
}
if (gAgentCamera.getCameraMode() == gAgentCamera.getLastCameraMode())
{
// We're already done endAnimationUpdateUI for this transition.