Merged Edgar's code changes from Google Summer of Code 2009

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403789
This commit is contained in:
Sam Lantinga 2009-09-07 05:06:34 +00:00
parent 3a95fba428
commit 0b31b5070e
25 changed files with 9225 additions and 1 deletions

View file

@ -196,7 +196,10 @@ SDL_StopEventThread(void)
SDL_DestroyMutex(SDL_EventLock.lock);
}
#ifndef IPOD
SDL_DestroyMutex(SDL_EventQ.lock);
if (SDL_EventQ.lock) {
SDL_DestroyMutex(SDL_EventQ.lock);
SDL_EventQ.lock = NULL;
}
#endif
}