Destroy Job threads at the start of the subclass destructors,
[dcpomatic.git] / src / lib / check_content_change_job.cc
index 3d5e4e979fe7745c2837599e7e838471756ac53b..fbeb695df1304256e0b7d60c5db4c1c8c2bf7bb1 100644 (file)
@@ -41,6 +41,11 @@ CheckContentChangeJob::CheckContentChangeJob (shared_ptr<const Film> film, share
 
 }
 
+CheckContentChangeJob::~CheckContentChangeJob()
+{
+       destroy_thread ();
+}
+
 string
 CheckContentChangeJob::name () const
 {