Core: Fix threading memory leak

This commit is contained in:
Vicki Pfau 2018-06-30 15:51:51 -07:00
parent 9fef8ec49d
commit 4d49aa095b
1 changed files with 3 additions and 0 deletions

View File

@ -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;