summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2021-09-29 16:50:32 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2021-09-29 16:50:32 +0100
commit3c4198e4b50de0221020f3b5bbf7d3f7ff7cf984 (patch)
treed731e7800fd45c5715ed7e103821cd1eb0edc9fa /indra/newview/llviewermessage.cpp
parente16105cab07047cadf0f5a4eae9335c066b5053c (diff)
SL-15999 - noninteractive sessions should quit cleanly when they get a close message. Removed some possible crashes
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r--indra/newview/llviewermessage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index ab65d747ba..517e35d482 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -2423,6 +2423,10 @@ void translateFailure(LLChat chat, LLSD toastArgs, int status, const std::string
void process_chat_from_simulator(LLMessageSystem *msg, void **user_data)
{
+ if (gNonInteractive)
+ {
+ return;
+ }
LLChat chat;
std::string mesg;
std::string from_name;