diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-03-06 22:36:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-03-06 22:36:16 +0100 |
| commit | caf67bef2611a911307267b20dbf3be89ffff71f (patch) | |
| tree | 66c55e40b1b5a44c8670f8ecb98df2b7ce8bdf68 /src/lib/examine_content_job.cc | |
| parent | f6557e4bedd788a026d48fe883cb48a1070dc886 (diff) | |
Stop threads at the start of their object's destruction in all Job cases.
Diffstat (limited to 'src/lib/examine_content_job.cc')
| -rw-r--r-- | src/lib/examine_content_job.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/examine_content_job.cc b/src/lib/examine_content_job.cc index 86e0a107e..3be38863d 100644 --- a/src/lib/examine_content_job.cc +++ b/src/lib/examine_content_job.cc @@ -38,6 +38,11 @@ ExamineContentJob::ExamineContentJob (shared_ptr<const Film> film, shared_ptr<Co } +ExamineContentJob::~ExamineContentJob () +{ + stop_thread (); +} + string ExamineContentJob::name () const { |
