Stop threads at the start of their object's destruction in all Job cases.
[dcpomatic.git] / src / lib / transcode_job.cc
index 7fe28d210873abd328b75b212da1154e915731a4..fb586b0825631da9e9a9efc79038103733735791 100644 (file)
@@ -54,9 +54,6 @@ TranscodeJob::TranscodeJob (shared_ptr<const Film> film)
 
 TranscodeJob::~TranscodeJob ()
 {
-       /* We have to stop the job thread here as we're about to start tearing down
-          the Encoder, which is bad news if the job thread is still feeding it data.
-       */
        stop_thread ();
 }