SL-10685 LLPanelLogin crash

meow-7.2.2
andreykproductengine 2019-04-03 18:29:35 +03:00
parent 72a14e46e7
commit 8a7e386696
1 changed files with 4 additions and 1 deletions

View File

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