mirror of
https://github.com/libretro/mgba.git
synced 2024-11-23 16:10:01 +00:00
Qt: Clean up thread before caches
This commit is contained in:
parent
932f2624c0
commit
1079e03464
@ -204,13 +204,13 @@ CoreController::~CoreController() {
|
||||
stop();
|
||||
disconnect();
|
||||
|
||||
mCoreThreadJoin(&m_threadContext);
|
||||
|
||||
if (m_cacheSet) {
|
||||
mCacheSetDeinit(m_cacheSet.get());
|
||||
m_cacheSet.reset();
|
||||
}
|
||||
|
||||
mCoreThreadJoin(&m_threadContext);
|
||||
|
||||
mCoreConfigDeinit(&m_threadContext.core->config);
|
||||
m_threadContext.core->deinit(m_threadContext.core);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user