Skip to content
GitLab
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
25ba2ac5
Commit
25ba2ac5
authored
Aug 28, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix incorrect mutex unlock in thumbs cache
parent
f39db62b
Pipeline
#224305
canceled with stage
in 6 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/utils/thumbnailcache.cpp
View file @
25ba2ac5
...
...
@@ -230,7 +230,7 @@ void ThumbnailCache::storeThumbnail(const QString &binId, int pos, const QImage
std
::
find
(
m_storedOnDisk
[
binId
].
begin
(),
m_storedOnDisk
[
binId
].
end
(),
pos
)
==
m_storedOnDisk
[
binId
].
end
())
{
m_storedOnDisk
[
binId
].
push_back
(
pos
);
}
m_mutex
.
unlock
();
locker
.
unlock
();
if
(
!
img
.
save
(
thumbFolder
.
absoluteFilePath
(
key
)))
{
qDebug
()
<<
".............
\n
!!!!!!!! ERROR SAVING THUMB in: "
<<
thumbFolder
.
absoluteFilePath
(
key
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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