From 985473a0a4eb92001c55d78b1a04aabf09fccf7e Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Mon, 1 Sep 2025 10:00:48 -0500 Subject: [PATCH] Release all mutexes before joining threads in TimelineManager --- scwx-qt/source/scwx/qt/manager/timeline_manager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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_;