std::shared_ptr
[dcpomatic.git] / test / job_test.cc
index d93b4a082743ec10a22a8b71b8680df77ec67325..c834ec12e4cdbcc1755cafc66384a60c0de8b75f 100644 (file)
@@ -29,7 +29,7 @@
 #include "lib/cross.h"
 
 using std::string;
-using boost::shared_ptr;
+using std::shared_ptr;
 
 class TestJob : public Job
 {
@@ -40,6 +40,11 @@ public:
 
        }
 
+       ~TestJob ()
+       {
+               stop_thread ();
+       }
+
        void set_finished_ok () {
                set_state (FINISHED_OK);
        }