summaryrefslogtreecommitdiff
path: root/indra/newview/llmeshrepository.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2025-04-01 13:10:33 -0400
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2025-04-01 13:10:33 -0400
commitccdcbfeebd10a78cfb67f5324a3eb17a7d76604b (patch)
tree9543eb9393ea9f20b3199c86c48a5b4fc5b3f5e1 /indra/newview/llmeshrepository.cpp
parent497c309a5b148fd86a0e1429343092f0a6ca2e0d (diff)
parent4ddd9d1fefc3b956e19ef25cfdd199fde352437a (diff)
Merge branch 'release/2025.03' into release/2025.04
Diffstat (limited to 'indra/newview/llmeshrepository.cpp')
-rw-r--r--indra/newview/llmeshrepository.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp
index e1fa84b4d8..a8c6f69425 100644
--- a/indra/newview/llmeshrepository.cpp
+++ b/indra/newview/llmeshrepository.cpp
@@ -4573,6 +4573,8 @@ void LLMeshRepository::notifyLoadedMeshes()
std::partial_sort(mPendingRequests.begin(), mPendingRequests.begin() + push_count,
mPendingRequests.end(), PendingRequestBase::CompareScoreGreater());
}
+ LLMutexTrylock lock3(mThread->mHeaderMutex);
+ LLMutexTrylock lock4(mThread->mPendingMutex);
while (!mPendingRequests.empty() && push_count > 0)
{
std::unique_ptr<PendingRequestBase>& req_p = mPendingRequests.front();