diff options
| author | Bryan C. Mills <bcmills@google.com> | 2023-04-21 11:42:20 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-04-21 20:04:37 +0000 |
| commit | 6328e445c3a87d64a32b6203af3f39d43d874f9f (patch) | |
| tree | dea76269789343df0f27dfe4f9d5153416d1d7a1 /src/runtime | |
| parent | 87272bd1a18666ec38ac44c63e11c739f3054056 (diff) | |
| download | go-6328e445c3a87d64a32b6203af3f39d43d874f9f.tar.xz | |
log: avoid leaking goroutines in TestOutputRace
Leaked goroutines are the only explanation I can think of for excess
allocs in TestDiscard, and TestOutputRace is the only place I can see
where the log package leaks goroutines. Let's fix that leak and see if
it eliminates the TestDiscard flakes.
Fixes #58797 (maybe).
Change-Id: I2d54dcba3eb52bd10a62cd1c380131add6a2f651
Reviewed-on: https://go-review.googlesource.com/c/go/+/487356
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
