It's okay to quit things more than once.
authorSam Lantinga <slouken@libsdl.org>
Sun, 20 Oct 2013 10:39:26 -0700
changeset 7843 9e7a3c4b7267
parent 7842 a37d23ee1812
child 7844 97fa86ce5a2e
It's okay to quit things more than once.
src/SDL.c
--- a/src/SDL.c	Sun Oct 20 10:35:51 2013 -0700
+++ b/src/SDL.c	Sun Oct 20 10:39:26 2013 -0700
@@ -69,8 +69,6 @@
 SDL_PrivateSubsystemRefCountDecr(Uint32 subsystem)
 {
     int subsystem_index = SDL_MostSignificantBitIndex32(subsystem);
-    /* If this assert triggers there is a mismatch between init and quit calls */
-    SDL_assert(SDL_SubsystemRefCount[subsystem_index] > 0);
     if (SDL_SubsystemRefCount[subsystem_index] > 0) {
         --SDL_SubsystemRefCount[subsystem_index];
     }