-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime/op/combine: fix panic in Proc.propagateDone (#4335)
Proc.propagateDone can trigger a panic by calling Proc.unwait without all parent blocked if one of its goroutines exits because Proc.ctx is canceled. Fix this by replacing the sync.WaitGroup with an errgroup.Group and using that to check for goroutines exiting due to cancelation. Closes #4318.
- Loading branch information
Showing
1 changed file
with
9 additions
and
6 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