diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-07-09 20:22:07 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-07-09 23:16:17 +0300 |
commit | 19ffeb6e2d6fe749070fe36facbfa3e3e8641364 (patch) | |
tree | 6f0be2c7ddf41c477586cee53aa279f8988dea55 | |
parent | edaf157e19ec5886fa58ba6341db8a91d89e14eb (diff) |
#4357 Crash in LLMeshRepoThread::lodReceived
-rw-r--r-- | indra/newview/llmeshrepository.cpp | 5 |
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; } } |