From c6afa292156473f7639be7fbb674876400a46fa5 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 25 Nov 2023 22:59:49 -0800 Subject: [PATCH] Revert "SDL: Fix minor leak if debugger isn't used" This reverts commit ba83c4d9d35f310db40fa366d6e15ae69a7c4fc2. --- src/platform/sdl/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/platform/sdl/main.c b/src/platform/sdl/main.c index 9bbe2aeb8..96a797986 100644 --- a/src/platform/sdl/main.c +++ b/src/platform/sdl/main.c @@ -255,8 +255,6 @@ int mSDLRun(struct mSDLRenderer* renderer, struct mArguments* args) { #ifdef ENABLE_SCRIPTING mScriptBridgeSetDebugger(bridge, debugger); #endif - } else { - mDebuggerDeinit(&debugger); } #endif