Destroy Job threads at the start of the subclass destructors,
[dcpomatic.git] / src / lib / send_notification_email_job.cc
index abbb844e2f5c2fe6b2a5b72ba3607d94dbd4f7ab..5986e5a166de74e34c07141d2c8747097e2d9b90 100644 (file)
@@ -40,6 +40,11 @@ SendNotificationEmailJob::SendNotificationEmailJob (string body)
 
 }
 
+SendNotificationEmailJob::~SendNotificationEmailJob ()
+{
+       destroy_thread ();
+}
+
 string
 SendNotificationEmailJob::name () const
 {