Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Back when we made Run's return value (done bool) in 26274e5 -- that implicitly made Run the sole arbiter of whether or not to Release a task or Mark it as done. The only thing the core Consumer should do is tell handlers to Stop -- it should only ever call Release or Done after Run exits and use that return value. We do lose the ReleaseTask command (since now it's the same as the StopTask command), but we've never used it and it can be added later if it's found to be valuable.
- Loading branch information
1 parent
f46fec5
commit eb5aa7c
Showing
6 changed files
with
19 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters