all repos — mgba @ 1079e0346463b8edd6f6d6a0a212e335a496698d

mGBA Game Boy Advance Emulator

Qt: Clean up thread before caches
Vicki Pfau vi@endrift.com
Sun, 24 Jun 2018 17:02:09 -0700
commit

1079e0346463b8edd6f6d6a0a212e335a496698d

parent

932f2624c07c90a9a0d3b0bd6893e801a7962d47

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/platform/qt/CoreController.cppsrc/platform/qt/CoreController.cpp

@@ -204,12 +204,12 @@ endVideoLog();

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