travis-ci/travis-worker — pull request #88 by henrikhodne (2014-02-20 19:39:12+00:00)
Title: fix(runner): don't mark the job as finished if it's being restarted

This means that the job can be marked as finished immediately after it was
restarted, which can cause multiple notifications or errors when the build is
checking if all jobs are finished (when some are actually marked as created).

Fix travis-ci/travis-ci#1858.