SL-18799 Crash at requestPostCapability

meow-7.2.2
Andrey Kleshchev 2022-12-07 08:55:45 +02:00
parent 120d9c16fa
commit 3d6c4036a6
2 changed files with 2 additions and 2 deletions

View File

@ -2914,7 +2914,7 @@ bool LLAgent::requestPostCapability(const std::string &capName, LLSD &postData,
{
std::string url;
url = getRegion()->getCapability(capName);
url = getRegionCapability(capName);
if (url.empty())
{

View File

@ -363,7 +363,7 @@ void LLInventoryModelBackgroundFetch::bulkFetch()
//If there are items in mFetchQueue, we want to check the time since the last bulkFetch was
//sent. If it exceeds our retry time, go ahead and fire off another batch.
LLViewerRegion * region(gAgent.getRegion());
if (! region || gDisconnected)
if (! region || gDisconnected || LLApp::isExiting())
{
return;
}