# HG changeset patch # User Sam Lantinga # Date 1253687847 0 # Node ID 34a4a01da79c60d03d19dc91756b6e8246516da1 # Parent 975fd903466b5d88fe2c3dc6ed85068eb6e4d10a Possibly fixed bug #601, definitely fixed a potential issue with threads stopping and starting in rapid succession. diff -r 975fd903466b -r 34a4a01da79c src/thread/SDL_thread.c --- a/src/thread/SDL_thread.c Wed Sep 23 02:52:11 2009 +0000 +++ b/src/thread/SDL_thread.c Wed Sep 23 06:37:27 2009 +0000 @@ -140,9 +140,11 @@ } 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 */