diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-04-03 18:29:35 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-04-03 18:29:35 +0300 |
commit | 8a7e386696b73fe79d3d6b7f45812c4982be3370 (patch) | |
tree | a9a282bd3e30eb44d5da3372b3f1174326d1343f | |
parent | 72a14e46e790f279f1a5de04639af1e8c1d1e35e (diff) |
SL-10685 LLPanelLogin crash
-rw-r--r-- | indra/newview/llpanellogin.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 142dea83e2..0637010b0b 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -748,7 +748,10 @@ void LLPanelLogin::closePanel() { if (sInstance) { - LLPanelLogin::sInstance->getParent()->removeChild( LLPanelLogin::sInstance ); + if (LLPanelLogin::sInstance->getParent()) + { + LLPanelLogin::sInstance->getParent()->removeChild(LLPanelLogin::sInstance); + } delete sInstance; sInstance = NULL; |