From ade13fd741061cf1b3cce3b54e01fc887ff6c309 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 20 Oct 2013 10:39:26 -0700 Subject: [PATCH] It's okay to quit things more than once. --- src/SDL.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/SDL.c b/src/SDL.c index 619a0c1f8..0f6de9fe6 100644 --- a/src/SDL.c +++ b/src/SDL.c @@ -69,8 +69,6 @@ static void 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]; }