AnalyseAudioJob::~AnalyseAudioJob ()
{
+ stop_thread ();
BOOST_FOREACH (Filter const * i, _filters) {
delete const_cast<Filter*> (i);
}
}
+CheckContentChangeJob::~CheckContentChangeJob ()
+{
+ stop_thread ();
+}
+
string
CheckContentChangeJob::name () const
{
{
public:
CheckContentChangeJob (boost::shared_ptr<const Film>, boost::shared_ptr<Job> following = boost::shared_ptr<Job>(), bool gui = true);
+ ~CheckContentChangeJob ();
std::string name () const;
std::string json_name () const;
}
+ExamineContentJob::~ExamineContentJob ()
+{
+ stop_thread ();
+}
+
string
ExamineContentJob::name () const
{
{
public:
ExamineContentJob (boost::shared_ptr<const Film>, boost::shared_ptr<Content>);
+ ~ExamineContentJob ();
std::string name () const;
std::string json_name () const;
}
+ExamineFFmpegSubtitlesJob::~ExamineFFmpegSubtitlesJob ()
+{
+ stop_thread ();
+}
+
string
ExamineFFmpegSubtitlesJob::name () const
{
{
public:
ExamineFFmpegSubtitlesJob (boost::shared_ptr<const Film>, boost::shared_ptr<FFmpegContent>);
+ ~ExamineFFmpegSubtitlesJob ();
std::string name () const;
std::string json_name () const;
Job::~Job ()
{
- stop_thread ();
+#ifdef DCPOMATIC_DEBUG
+ /* Any subclass should have called stop_thread in its destructor */
+ assert (!_thread.joinable());
+#endif
}
void
}
+SendKDMEmailJob::~SendKDMEmailJob ()
+{
+ stop_thread ();
+}
+
string
SendKDMEmailJob::name () const
{
dcp::NameFormat::Map name_values,
std::string cpl_name
);
+ ~SendKDMEmailJob ();
std::string name () const;
std::string json_name () const;
}
+SendNotificationEmailJob::~SendNotificationEmailJob ()
+{
+ stop_thread ();
+}
+
string
SendNotificationEmailJob::name () const
{
{
public:
explicit SendNotificationEmailJob (std::string body);
+ ~SendNotificationEmailJob ();
std::string name () const;
std::string json_name () const;
}
+SendProblemReportJob::~SendProblemReportJob ()
+{
+ stop_thread ();
+}
+
string
SendProblemReportJob::name () const
{
std::string summary
);
+ ~SendProblemReportJob ();
+
std::string name () const;
std::string json_name () const;
void run ();
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 ();
}
}
+UploadJob::~UploadJob ()
+{
+ stop_thread ();
+}
+
string
UploadJob::name () const
{
{
public:
explicit UploadJob (boost::shared_ptr<const Film>);
+ ~UploadJob ();
std::string name () const;
std::string json_name () const;
}
+VerifyDCPJob::~VerifyDCPJob ()
+{
+ stop_thread ();
+}
+
string
VerifyDCPJob::name () const
{
{
public:
explicit VerifyDCPJob (std::vector<boost::filesystem::path> directories);
+ ~VerifyDCPJob ();
std::string name () const;
std::string json_name () const;