better fix for memory issue of BulletMultiThreaded
See Issue 271 and http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?p=&f=9&t=4043
This commit is contained in:
@@ -490,6 +490,7 @@ void MultiThreadedDemo::exitPhysics()
|
||||
delete m_dispatcher;
|
||||
|
||||
#ifdef USE_PARALLEL_DISPATCHER
|
||||
deleteCollisionLocalStoreMemory();
|
||||
if (m_threadSupportCollision)
|
||||
{
|
||||
delete m_threadSupportCollision;
|
||||
|
||||
Reference in New Issue
Block a user