diff --git a/scwx-qt/source/scwx/qt/manager/timeline_manager.cpp b/scwx-qt/source/scwx/qt/manager/timeline_manager.cpp index 70c4b2ed..46e827ea 100644 --- a/scwx-qt/source/scwx/qt/manager/timeline_manager.cpp +++ b/scwx-qt/source/scwx/qt/manager/timeline_manager.cpp @@ -53,8 +53,10 @@ public: // Lock mutexes before destroying std::unique_lock animationTimerLock {animationTimerMutex_}; animationTimer_.cancel(); + animationTimerLock.unlock(); - std::unique_lock selectTimeLock {selectTimeMutex_}; + selectThreadPool_.join(); + playThreadPool_.join(); } TimelineManager* self_;