disable all demos for premake4 iOS build (it only compiles HelloWorld, Benchmark and UnitTest for now)

add btAlignedFree to deleteCriticalSection
This commit is contained in:
erwin.coumans
2012-09-10 16:02:30 +00:00
parent 77b662d5fe
commit 9cfcabfc4c
2 changed files with 3 additions and 0 deletions

View File

@@ -449,6 +449,7 @@ void Win32ThreadSupport::deleteBarrier(btBarrier* barrier)
void Win32ThreadSupport::deleteCriticalSection(btCriticalSection* criticalSection)
{
criticalSection->~btCriticalSection();
btAlignedFree(criticalSection);
}