#4357 Crash in LLMeshRepoThread::lodReceived

master
Andrey Kleshchev 2025-07-09 20:22:07 +03:00 committed by Andrey Kleshchev
parent edaf157e19
commit 19ffeb6e2d
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}
}