Destroy Job threads at the start of the subclass destructors,
[dcpomatic.git] / src / lib / send_kdm_email_job.cc
index 38484b91e15500333184422541b45c77e763c396..a4b4b297f453287d81ae377c859a5aa99a28df6e 100644 (file)
@@ -53,6 +53,11 @@ SendKDMEmailJob::SendKDMEmailJob (
 
 }
 
+SendKDMEmailJob::~SendKDMEmailJob ()
+{
+       destroy_thread ();
+}
+
 string
 SendKDMEmailJob::name () const
 {