Skip to content

Commit

Permalink
SL-18170 FIXED Quitting the viewer is aborted if a script error appears
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-productengine committed Aug 9, 2023
1 parent ee56c50 commit cf97837
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions indra/newview/llfloaterimnearbychathandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit cf97837

Please sign in to comment.