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