Possibly fixed bug #601, definitely fixed a potential issue with threads
stopping and starting in rapid succession. --HG-- branch : SDL-1.2 extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403883
This commit is contained in:
parent
f3ce6c992f
commit
a0d5e9ed41
1 changed files with 2 additions and 0 deletions
|
@ -134,9 +134,11 @@ static void SDL_DelThread(SDL_Thread *thread)
|
|||
}
|
||||
SDL_mutexV(thread_lock);
|
||||
|
||||
#if 0 /* There could be memory corruption if another thread is starting */
|
||||
if ( SDL_Threads == NULL ) {
|
||||
SDL_ThreadsQuit();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/* The default (non-thread-safe) global error variable */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue