diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2021-09-29 16:50:32 +0100 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2021-09-29 16:50:32 +0100 |
commit | 3c4198e4b50de0221020f3b5bbf7d3f7ff7cf984 (patch) | |
tree | d731e7800fd45c5715ed7e103821cd1eb0edc9fa /indra/newview/llviewermessage.cpp | |
parent | e16105cab07047cadf0f5a4eae9335c066b5053c (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.cpp | 4 |
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; |