diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-10-22 19:05:29 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-10-22 19:05:29 +0300 |
commit | 88100d8f62b81f02354663dc542e5b8a2ebb45b4 (patch) | |
tree | 0feaaf34767dbd6d60e867005777fc3ec2c14ec1 /indra | |
parent | 07635d22f567cd0aeb9addf5ac22b02fa1da0e6c (diff) |
SL-12169 Crash on setToolBarsVisible() during exit
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llagent.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 31b8b90518..be90e623ad 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -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. |