Destroy Job threads at the start of the subclass destructors,
[dcpomatic.git] / src / lib / examine_ffmpeg_subtitles_job.cc
index b9d5f54e5d09385f21406a52683dd4cfbe60abd7..eb2cbcd1f1da2b0866c99085e08e1cc463c48633 100644 (file)
@@ -43,6 +43,11 @@ ExamineFFmpegSubtitlesJob::ExamineFFmpegSubtitlesJob (shared_ptr<const Film> fil
 
 }
 
+ExamineFFmpegSubtitlesJob::~ExamineFFmpegSubtitlesJob ()
+{
+       destroy_thread ();
+}
+
 string
 ExamineFFmpegSubtitlesJob::name () const
 {