Destroy Job threads at the start of the subclass destructors,
[dcpomatic.git] / src / lib / verify_dcp_job.cc
index 5fb2a59c1929d6caf9ac8cc5312dca84df901a7f..03d9c4c4cbfab3f608eab324f562e65e541297f0 100644 (file)
@@ -35,6 +35,11 @@ VerifyDCPJob::VerifyDCPJob (vector<boost::filesystem::path> directories)
 
 }
 
+VerifyDCPJob::~VerifyDCPJob ()
+{
+       destroy_thread ();
+}
+
 string
 VerifyDCPJob::name () const
 {