Team was vulnerable to false invalidation by sleepUntil(..).
While a parent is resetting its variables at the end of a team operation, a waiting child that started the next team operation may read the reset variables and consider them invalid.
The problem was fixed in by re-checking the conditions that lead to invalidating a team in sleepUntil(..).
Team was vulnerable to false invalidation by sleepUntil(..). While a parent is resetting its variables at the end of a team operation, a waiting child that started the next team operation may read the reset variables and consider them invalid. The problem was fixed in by re-checking the conditions that lead to invalidating a team in sleepUntil(..).