Skip to content
Permalink
Browse files

Fixed bug 3996 - Corrupted or over-released critical section on SDL_Q…

…uit (SDL_event_watchers_lock)

Andrew

This likely comes down to an additional 'unlock' being called before destroying it, without a matching 'lock'.
  • Loading branch information
slouken committed Dec 13, 2017
1 parent 2afc0b7 commit ca7297668a88109c8ddfe8340ba6db2f8022c105
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/events/SDL_events.c
@@ -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;
}

0 comments on commit ca72976

Please sign in to comment.