Lock timeline mutexes before destroying

This commit is contained in:
Dan Paulat 2023-05-24 00:12:37 -05:00
parent 344d32081e
commit ab42772f37

View file

@ -24,7 +24,11 @@ class TimelineManager::Impl
public:
explicit Impl(TimelineManager* self) : self_ {self} {}
~Impl() {}
~Impl()
{
// Lock mutexes before destroying
std::unique_lock selectTimeLock {selectTimeMutex_};
}
TimelineManager* self_;