Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
d6ee2612
Commit
d6ee2612
authored
May 06, 2019
by
Jean-Baptiste Mardelle
Browse files
Add missing lock in model cleanup
parent
54210884
Pipeline
#3365
passed with stage
in 21 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/model/timelinemodel.cpp
View file @
d6ee2612
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment