summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerassetstorage.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-11-22 21:58:30 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-11-22 22:09:24 +0200
commitf1245399df2e1ff9adef5ff23d3afe279aeb9eac (patch)
tree3297ca484da17549394d424bbeaa8b20a4ac85fa /indra/newview/llviewerassetstorage.h
parent835ca57cbd81e54aec8ff1ac331caff9b550a8a7 (diff)
SL-16106 LLScopedIncrement crash
Diffstat (limited to 'indra/newview/llviewerassetstorage.h')
-rw-r--r--indra/newview/llviewerassetstorage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewerassetstorage.h b/indra/newview/llviewerassetstorage.h
index c1a5534b81..cdf6401e4e 100644
--- a/indra/newview/llviewerassetstorage.h
+++ b/indra/newview/llviewerassetstorage.h
@@ -124,12 +124,13 @@ protected:
wait_list_t mCoroWaitList;
std::string mViewerAssetUrl;
- S32 mAssetCoroCount;
S32 mCountRequests;
S32 mCountStarted;
S32 mCountCompleted;
S32 mCountSucceeded;
S64 mTotalBytesFetched;
+
+ static S32 sAssetCoroCount; // coroutine count, static since coroutines can outlive LLViewerAssetStorage
};
#endif