summaryrefslogtreecommitdiff
path: root/indra/newview/llmeshrepository.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-07-09 20:22:07 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-07-09 23:16:17 +0300
commit19ffeb6e2d6fe749070fe36facbfa3e3e8641364 (patch)
tree6f0be2c7ddf41c477586cee53aa279f8988dea55 /indra/newview/llmeshrepository.cpp
parentedaf157e19ec5886fa58ba6341db8a91d89e14eb (diff)
#4357 Crash in LLMeshRepoThread::lodReceived
Diffstat (limited to 'indra/newview/llmeshrepository.cpp')
-rw-r--r--indra/newview/llmeshrepository.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp
index 9382ebb00b..b5a1bbd534 100644
--- a/indra/newview/llmeshrepository.cpp
+++ b/indra/newview/llmeshrepository.cpp
@@ -2395,6 +2395,11 @@ EMeshProcessingResult LLMeshRepoThread::lodReceived(const LLVolumeParams& mesh_p
// might be good idea to turn mesh into pointer to avoid making a copy
mesh.mVolume = NULL;
}
+ {
+ // make sure skin info is not removed from list while we are decreasing reference count
+ LLMutexLock lock(mSkinMapMutex);
+ skin_info = nullptr;
+ }
return MESH_OK;
}
}