SL-12164 attempt to close viewer on window init resulted in crash
parent
f60187d224
commit
cc32c70518
|
|
@ -3991,7 +3991,9 @@ static LLNotificationFunctorRegistration finish_quit_reg("ConfirmQuit", finish_q
|
|||
|
||||
void LLAppViewer::userQuit()
|
||||
{
|
||||
if (gDisconnected || gViewerWindow->getProgressView()->getVisible())
|
||||
if (gDisconnected
|
||||
|| !gViewerWindow
|
||||
|| (gViewerWindow->getProgressView() && gViewerWindow->getProgressView()->getVisible()))
|
||||
{
|
||||
requestQuit();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue