summaryrefslogtreecommitdiff
path: root/indra/newview/llscripteditorws.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llscripteditorws.cpp')
-rw-r--r--indra/newview/llscripteditorws.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llscripteditorws.cpp b/indra/newview/llscripteditorws.cpp
index da7c0cb0fa..1b4babceec 100644
--- a/indra/newview/llscripteditorws.cpp
+++ b/indra/newview/llscripteditorws.cpp
@@ -465,6 +465,9 @@ void LLScriptEditorWSServer::onStopped()
LL_INFOS("ScriptEditorWS") << "Script editor WebSocket server stopped, all state cleaned up" << LL_ENDL;
+ // Skip the toast during shutdown. cleanup() destroys LLUI before
+ // WebSocket singletons, and constructing this alert crashes in the
+ // already-freed notification tables.
if (!LLApp::isExiting())
{
LLNotificationsUtil::add("ExternalEditorServerStopped");