errgroup/singleflight
hanliang.kirk 30421366ff singleflight: fix hangs after first Do panic
When first Do panic, the related wait group will never be done,
and all the subsequent calls would block on the same wait group forever.

Fixes golang/go#41133

Change-Id: I0ad9bfb387b6133b10766a34fc0040f200eae27e
Reviewed-on: https://go-review.googlesource.com/c/sync/+/251677
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Trust: Ian Lance Taylor <iant@golang.org>
Trust: Bryan C. Mills <bcmills@google.com>
2020-09-30 13:27:11 +00:00
..
singleflight.go singleflight: fix hangs after first Do panic 2020-09-30 13:27:11 +00:00
singleflight_test.go singleflight: fix hangs after first Do panic 2020-09-30 13:27:11 +00:00