projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Destroy Job threads at the start of the subclass destructors,
[dcpomatic.git]
/
src
/
lib
/
send_notification_email_job.cc
diff --git
a/src/lib/send_notification_email_job.cc
b/src/lib/send_notification_email_job.cc
index abbb844e2f5c2fe6b2a5b72ba3607d94dbd4f7ab..5986e5a166de74e34c07141d2c8747097e2d9b90 100644
(file)
--- a/
src/lib/send_notification_email_job.cc
+++ b/
src/lib/send_notification_email_job.cc
@@
-40,6
+40,11
@@
SendNotificationEmailJob::SendNotificationEmailJob (string body)
}
+SendNotificationEmailJob::~SendNotificationEmailJob ()
+{
+ destroy_thread ();
+}
+
string
SendNotificationEmailJob::name () const
{