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 fa48904703b8ced194cc34a11c42f70039b66694..22dd3a33a5ce94c735cca6d36538dac74e67616e 100644 (file)
@@ -40,6 +40,11 @@ public:
 
        }
 
 
        }
 
+       ~TestJob ()
+       {
+               stop_thread ();
+       }
+
        void set_finished_ok () {
                set_state (FINISHED_OK);
        }
        void set_finished_ok () {
                set_state (FINISHED_OK);
        }