mirror of https://github.com/mgba-emu/mgba.git
Core: Fix threading memory leak
This commit is contained in:
parent
9fef8ec49d
commit
4d49aa095b
|
@ -269,6 +269,9 @@ static THREAD_ENTRY _mCoreThreadRun(void* context) {
|
|||
}
|
||||
core->clearCoreCallbacks(core);
|
||||
|
||||
if (threadContext->logger.d.filter == &filter) {
|
||||
mLogFilterDeinit(&filter);
|
||||
}
|
||||
threadContext->logger.d.filter = NULL;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue