Fix missed subclass of Job in the tests.
authorCarl Hetherington <cth@carlh.net>
Fri, 6 Mar 2020 23:57:53 +0000 (23:57 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 6 Mar 2020 23:57:53 +0000 (23:57 +0000)
test/job_test.cc

index fa48904..22dd3a3 100644 (file)
@@ -40,6 +40,11 @@ public:
 
        }
 
+       ~TestJob ()
+       {
+               stop_thread ();
+       }
+
        void set_finished_ok () {
                set_state (FINISHED_OK);
        }