projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Stop threads at the start of their object's destruction in all Job cases.
[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..1c9d963388a1eefd1451984481f4b05f1df5484b 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 ()
+{
+ stop_thread ();
+}
+
string
SendNotificationEmailJob::name () const
{