pyfarm/pyfarm-agent — pull request #117 by guidow (2014-07-15 13:45:38+00:00)
Title: Rework assignment deferreds

The stopped and started deferreds are now no longer deferred lists, but
normal deferreds that are fired manually under the right circumstances.
This allows jobtype implementors to start new processes after an earlier
one has already finished.

This also addresses the bug where the stopped deferred never got fired,
which made it impossible, among other things, to cleanly shut down the
agent.