diff --git a/CHANGES b/CHANGES index bcbd5353f..8dd985d92 100644 --- a/CHANGES +++ b/CHANGES @@ -131,6 +131,7 @@ Bugfixes: - PSP2: Fix tearing issues (fixes mgba.io/i/1211) - Qt: Fix mapping analog triggers (fixes mgba.io/i/495) - Qt: Grab focus when game starts (fixes mgba.io/i/804) + - Core: Remember to deinit proxy ring FIFO Misc: - mGUI: Add SGB border configuration option - mGUI: Add support for different settings types diff --git a/src/feature/thread-proxy.c b/src/feature/thread-proxy.c index 196877002..d00da8cd8 100644 --- a/src/feature/thread-proxy.c +++ b/src/feature/thread-proxy.c @@ -78,6 +78,7 @@ void mVideoThreadProxyDeinit(struct mVideoLogger* logger) { if (waiting) { ThreadJoin(proxyRenderer->thread); } + RingFIFODeinit(&proxyRenderer->dirtyQueue); ConditionDeinit(&proxyRenderer->fromThreadCond); ConditionDeinit(&proxyRenderer->toThreadCond); MutexDeinit(&proxyRenderer->mutex);