mirror of https://github.com/mgba-emu/mgba.git
Revert "SDL: Fix minor leak if debugger isn't used"
This reverts commit ba83c4d9d3
.
This commit is contained in:
parent
ba83c4d9d3
commit
c6afa29215
|
@ -255,8 +255,6 @@ int mSDLRun(struct mSDLRenderer* renderer, struct mArguments* args) {
|
||||||
#ifdef ENABLE_SCRIPTING
|
#ifdef ENABLE_SCRIPTING
|
||||||
mScriptBridgeSetDebugger(bridge, debugger);
|
mScriptBridgeSetDebugger(bridge, debugger);
|
||||||
#endif
|
#endif
|
||||||
} else {
|
|
||||||
mDebuggerDeinit(&debugger);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue