Permalink
Browse files

Qt: Clean up thread before caches

  • Loading branch information...
endrift committed Jun 25, 2018
1 parent 932f262 commit 1079e0346463b8edd6f6d6a0a212e335a496698d
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/platform/qt/CoreController.cpp
@@ -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);
}

0 comments on commit 1079e03

Please sign in to comment.