diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-03-06 20:59:58 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-03-06 20:59:58 +0000 |
| commit | e03d6f9bc6af9dfa8602c82cc52040a92144deaf (patch) | |
| tree | 3ca44d6b77f8e9184063d7cd29d849b1f7b290c3 /src/lib/transcode_job.h | |
| parent | b93430a73313d705f7f51315db705cfcf9942297 (diff) | |
Destroy Job threads at the start of the subclass destructors,
so that the thread is gone before the object is torn down.
Diffstat (limited to 'src/lib/transcode_job.h')
| -rw-r--r-- | src/lib/transcode_job.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/transcode_job.h b/src/lib/transcode_job.h index 9dd9e3684..fccb1a44a 100644 --- a/src/lib/transcode_job.h +++ b/src/lib/transcode_job.h @@ -34,6 +34,7 @@ class TranscodeJob : public Job { public: explicit TranscodeJob (boost::shared_ptr<const Film> film); + ~TranscodeJob (); std::string name () const; std::string json_name () const; |
