SL-18170 FIXED Quitting the viewer is aborted if a script error appears

meow-7.2.2
Maxim Nikolenko 2023-08-09 13:37:43 +03:00
parent ee56c507ab
commit cf97837b79
1 changed files with 2 additions and 0 deletions

View File

@ -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;