Destroy Job threads at the start of the subclass destructors,
[dcpomatic.git] / src / lib / examine_content_job.cc
index 86e0a107e1eec1d6351ded90b132e1a24a3a16e3..5c854a99b49b33e44ad1058121542b4fc5051a9a 100644 (file)
@@ -38,6 +38,11 @@ ExamineContentJob::ExamineContentJob (shared_ptr<const Film> film, shared_ptr<Co
 
 }
 
+ExamineContentJob::~ExamineContentJob ()
+{
+       destroy_thread ();
+}
+
 string
 ExamineContentJob::name () const
 {