summaryrefslogtreecommitdiff
path: root/src/lib/send_notification_email_job.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/send_notification_email_job.cc')
-rw-r--r--src/lib/send_notification_email_job.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/send_notification_email_job.cc b/src/lib/send_notification_email_job.cc
index abbb844e2..1c9d96338 100644
--- 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
{