summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-10-23 12:22:27 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-10-23 12:22:27 +0300
commit0c568bf79934944b3fc1f31476a0b59340d9c360 (patch)
tree725f6daf4504ab390306b713e230a2122fa5a9a4 /indra
parent88100d8f62b81f02354663dc542e5b8a2ebb45b4 (diff)
SL-12164 crash on userQuit
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llappviewer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 228dd36e53..c9953566fc 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -3998,7 +3998,8 @@ void LLAppViewer::userQuit()
{
if (gDisconnected
|| !gViewerWindow
- || (gViewerWindow->getProgressView() && gViewerWindow->getProgressView()->getVisible()))
+ || !gViewerWindow->getProgressView()
+ || gViewerWindow->getProgressView()->getVisible())
{
requestQuit();
}