From cf97837b79fba28623e6e8210e779a0599ba8d4b Mon Sep 17 00:00:00 2001 From: Maxim Nikolenko Date: Wed, 9 Aug 2023 13:37:43 +0300 Subject: SL-18170 FIXED Quitting the viewer is aborted if a script error appears --- indra/newview/llfloaterimnearbychathandler.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3