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:
@@ -3558,7 +3558,7 @@ void VulkanCommandQueue::execute()
|
||||
|
||||
/* Stage dynamic uploads */
|
||||
VulkanDataFactoryImpl* gfxF = static_cast<VulkanDataFactoryImpl*>(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