summaryrefslogtreecommitdiff
path: root/src/lib/transcode_job.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-03-06 22:36:16 +0100
committerCarl Hetherington <cth@carlh.net>2020-03-06 22:36:16 +0100
commitcaf67bef2611a911307267b20dbf3be89ffff71f (patch)
tree66c55e40b1b5a44c8670f8ecb98df2b7ce8bdf68 /src/lib/transcode_job.cc
parentf6557e4bedd788a026d48fe883cb48a1070dc886 (diff)
Stop threads at the start of their object's destruction in all Job cases.
Diffstat (limited to 'src/lib/transcode_job.cc')
-rw-r--r--src/lib/transcode_job.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/transcode_job.cc b/src/lib/transcode_job.cc
index 7fe28d210..fb586b082 100644
--- a/src/lib/transcode_job.cc
+++ b/src/lib/transcode_job.cc
@@ -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 ();
}