projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
566e311
)
Add a comment.
v2.15.23
author
Carl Hetherington
<cth@carlh.net>
Mon, 14 Oct 2019 13:59:26 +0000
(15:59 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 14 Oct 2019 15:34:40 +0000
(17:34 +0200)
src/lib/check_content_change_job.cc
patch
|
blob
|
history
diff --git
a/src/lib/check_content_change_job.cc
b/src/lib/check_content_change_job.cc
index 2bc562f57730339bce035be957368f7a29e8d8b2..e1226e79c6af3ae7c21cc74115875f9711a1111d 100644
(file)
--- a/
src/lib/check_content_change_job.cc
+++ b/
src/lib/check_content_change_job.cc
@@
-103,6
+103,11
@@
CheckContentChangeJob::run ()
JobManager::instance()->add (_following);
}
+ /* Only set this job as finished once we have added the following job, otherwise I think
+ it's possible that the tests will sporadically fail if they check for all jobs being
+ complete in the gap between this one finishing and _following being added.
+ */
+
set_progress (1);
set_state (FINISHED_OK);
}