Fixed bug 3996 - Corrupted or over-released critical section on SDL_Quit (SDL_event_watchers_lock)
Andrew This likely comes down to an additional 'unlock' being called before destroying it, without a matching 'lock'.
This commit is contained in:
parent
63b451412b
commit
814d3d5cb9
1 changed files with 0 additions and 1 deletions
|
@ -369,7 +369,6 @@ SDL_StopEventLoop(void)
|
|||
}
|
||||
|
||||
if (SDL_event_watchers_lock) {
|
||||
SDL_UnlockMutex(SDL_event_watchers_lock);
|
||||
SDL_DestroyMutex(SDL_event_watchers_lock);
|
||||
SDL_event_watchers_lock = NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue