Commit d6ee2612 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Add missing lock in model cleanup

parent 54210884
Pipeline #3365 passed with stage
in 21 minutes and 14 seconds
......@@ -133,6 +133,7 @@ TimelineModel::TimelineModel(Mlt::Profile *profile, std::weak_ptr<DocUndoStack>
void TimelineModel::prepareClose()
QWriteLocker locker(&m_lock);
// Unlock all tracks to allow delting clip from tracks
m_closing = true;
auto it = m_allTracks.begin();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment