#4357 Crash in LLMeshRepoThread::lodReceived
parent
edaf157e19
commit
19ffeb6e2d
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue