SL-15404 Crash at setSeedCapability

Viewer tried to set capability when quiting.
master
Andrey Kleshchev 2021-06-15 22:43:28 +03:00
parent f41839e2b9
commit ded1f85b28
1 changed files with 5 additions and 0 deletions

View File

@ -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"))