summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-06-15 22:43:28 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-06-15 22:44:24 +0300
commitded1f85b2811a51c61b140be6862ba479c02b5a8 (patch)
treee38075250c56b556a855e87aedbed4c938db2d7c /indra
parentf41839e2b905fb680ef1c4cb253f5942c444bfa6 (diff)
SL-15404 Crash at setSeedCapability
Viewer tried to set capability when quiting.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llworld.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp
index a1a1db35d6..fb3fc55a94 100644
--- a/indra/newview/llworld.cpp
+++ b/indra/newview/llworld.cpp
@@ -1194,6 +1194,11 @@ public:
virtual void post(ResponsePtr response, const LLSD& context, const LLSD& input) const
{
+ if (LLApp::isExiting())
+ {
+ return;
+ }
+
if (!input["body"].has("agent-id") ||
!input["body"].has("sim-ip-and-port") ||
!input["body"].has("seed-capability"))