Skip to content

Commit 6cfb930

Browse files
Make sure the previewWaitCondition.wakeAll() is heard by using the proper lock.
1 parent 3a6cb4a commit 6cfb930

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mythtv/libs/libmythtv/previewgenerator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ void PreviewGenerator::SetOutputFilename(const QString &fileName)
8888

8989
void PreviewGenerator::TeardownAll(void)
9090
{
91+
QMutexLocker locker(&previewLock);
9192
previewWaitCondition.wakeAll();
9293
listener = NULL;
9394
}

0 commit comments

Comments
 (0)