- bugfix for mutex deadlock

This commit is contained in:
Mark Vejvoda
2010-06-18 18:47:20 +00:00
parent 7fb136890c
commit 82f412453e
7 changed files with 89 additions and 52 deletions

View File

@@ -25,7 +25,7 @@ Thread::Thread() {
Thread::~Thread() {
if(thread != NULL) {
//SDL_WaitThread(thread, NULL);
SDL_WaitThread(thread, NULL);
}
}