Destroy Job threads at the start of the subclass destructors,
[dcpomatic.git] / src / lib / examine_content_job.cc
index 81088a4416cd0e7a838adaf4578e6c1e14b55d3e..5c854a99b49b33e44ad1058121542b4fc5051a9a 100644 (file)
@@ -38,10 +38,15 @@ ExamineContentJob::ExamineContentJob (shared_ptr<const Film> film, shared_ptr<Co
 
 }
 
+ExamineContentJob::~ExamineContentJob ()
+{
+       destroy_thread ();
+}
+
 string
 ExamineContentJob::name () const
 {
-       return _("Examine content");
+       return _("Examining content");
 }
 
 string