summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-10-02 01:29:20 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2021-10-13 22:00:41 +0300
commitdddb3498964547f8291d72642311fba8e17305d4 (patch)
tree1b71ae819e12358619419476d8e2c286f2f43e54 /indra/newview
parent70551782f1c4627f9a7b75c720b0d1d8499bcbb0 (diff)
SL-16106 Fixed asset storage trying to request data on shutdown
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewerassetstorage.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewerassetstorage.cpp b/indra/newview/llviewerassetstorage.cpp
index c1b129750a..64d9ce62c5 100644
--- a/indra/newview/llviewerassetstorage.cpp
+++ b/indra/newview/llviewerassetstorage.cpp
@@ -520,6 +520,12 @@ void LLViewerAssetStorage::assetRequestCoro(
boost::bind(&LLViewerAssetStorage::capsRecvForRegion, this, _1, capsRecv.getName()));
llcoro::suspendUntilEventOn(capsRecv);
+
+ if (LLApp::isExiting() || !gAssetStorage)
+ {
+ return;
+ }
+
LL_WARNS_ONCE("ViewerAsset") << "capsRecv got event" << LL_ENDL;
LL_WARNS_ONCE("ViewerAsset") << "region " << gAgent.getRegion() << " mViewerAssetUrl " << mViewerAssetUrl << LL_ENDL;
}