Destroy Job threads at the start of the subclass destructors,
[dcpomatic.git] / src / lib / send_problem_report_job.cc
index 11f700de077490751550913257e8991df05f4d8a..83092049f19be55746613a406ecea05f6f54a45f 100644 (file)
@@ -52,6 +52,11 @@ SendProblemReportJob::SendProblemReportJob (
 
 }
 
+SendProblemReportJob::~SendProblemReportJob ()
+{
+       destroy_thread ();
+}
+
 string
 SendProblemReportJob::name () const
 {