mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-19 01:46:28 +00:00
IObj destructor race condition fix
This commit is contained in:
@@ -1457,7 +1457,7 @@ struct GLCommandQueue : IGraphicsCommandQueue
|
||||
|
||||
/* Update dynamic data here */
|
||||
GLDataFactoryImpl* gfxF = static_cast<GLDataFactoryImpl*>(m_parent->getDataFactory());
|
||||
std::unique_lock<std::mutex> datalk(gfxF->m_dataMutex);
|
||||
std::unique_lock<std::recursive_mutex> datalk(gfxF->m_dataMutex);
|
||||
if (gfxF->m_dataHead)
|
||||
{
|
||||
for (BaseGraphicsData& d : *gfxF->m_dataHead)
|
||||
|
||||
Reference in New Issue
Block a user