This commit is contained in:
erwincoumans
2018-05-02 13:18:17 -07:00

View File

@@ -277,7 +277,7 @@ void b3PosixThreadSupport::stopThreads()
destroySem(spuStatus.startSemaphore);
printf("semaphore destroyed\n");
checkPThreadFunction(pthread_join(spuStatus.thread,0));
delete spuStatus.m_lsMemory;
}
printf("destroy main semaphore\n");
destroySem(m_mainSemaphore);