summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-08-09 13:37:43 +0300
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-08-09 13:37:43 +0300
commitcf97837b79fba28623e6e8210e779a0599ba8d4b (patch)
treeb700090b4186af6d7c4e7f92cded61432dfff2a5 /indra
parentee56c507ab9fb370a754b24026e1a8b100bb447a (diff)
SL-18170 FIXED Quitting the viewer is aborted if a script error appears
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterimnearbychathandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloaterimnearbychathandler.cpp b/indra/newview/llfloaterimnearbychathandler.cpp
index 4cd91c53d8..eb7bd843d3 100644
--- a/indra/newview/llfloaterimnearbychathandler.cpp
+++ b/indra/newview/llfloaterimnearbychathandler.cpp
@@ -522,6 +522,8 @@ void LLFloaterIMNearbyChatHandler::processChat(const LLChat& chat_msg,
// errors in separate window.
if (chat_msg.mChatType == CHAT_TYPE_DEBUG_MSG)
{
+ if (LLFloater::isQuitRequested()) return;
+
if(gSavedSettings.getBOOL("ShowScriptErrors") == FALSE)
return;