src/events/SDL_events.c
changeset 3611 57823d017f02
parent 3578 0d1b16ee0bca
child 3697 f7b03b6838cb
     1.1 --- a/src/events/SDL_events.c	Wed Jan 06 07:26:49 2010 +0000
     1.2 +++ b/src/events/SDL_events.c	Wed Jan 06 07:34:20 2010 +0000
     1.3 @@ -176,6 +176,7 @@
     1.4          SDL_WaitThread(SDL_EventThread, NULL);
     1.5          SDL_EventThread = NULL;
     1.6          SDL_DestroyMutex(SDL_EventLock.lock);
     1.7 +        SDL_EventLock.lock = NULL;
     1.8      }
     1.9      if (SDL_EventQ.lock) {
    1.10          SDL_DestroyMutex(SDL_EventQ.lock);