SL-10685 LLPanelLogin crash
parent
72a14e46e7
commit
8a7e386696
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue