From: Carl Hetherington Date: Sat, 7 Mar 2020 23:14:54 +0000 (+0100) Subject: Fix test failure with changes to thread management. X-Git-Tag: v2.15.48~25 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=c0514dd6ec5bd0a0fcfc01f4f67e83fb3fdac4c4 Fix test failure with changes to thread management. --- diff --git a/test/job_test.cc b/test/job_test.cc index d93b4a082..cc1c7ba89 100644 --- a/test/job_test.cc +++ b/test/job_test.cc @@ -40,6 +40,11 @@ public: } + ~TestJob () + { + stop_thread (); + } + void set_finished_ok () { set_state (FINISHED_OK); }