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:
@@ -1157,6 +1157,8 @@ btParallelConstraintSolver::~btParallelConstraintSolver()
|
||||
{
|
||||
delete m_memoryCache;
|
||||
delete m_solverIO;
|
||||
m_solverThreadSupport->deleteBarrier(m_barrier);
|
||||
m_solverThreadSupport->deleteCriticalSection(m_criticalSection);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user