Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Probably fixed flaky tests waiting on collect()
this is a sus fix, and it's still possible for new tasks to get added between the task crashing and the worker getting flagged as crashed. however, this ensures that the worker's state will be consistent with the tasks collected by collect() so that collect() can properly detect errors. this theoretically fixes workers-no-submit-after-task-crash.phpt flaking under valgrind.
- Loading branch information