| commit | 6328e445c3a87d64a32b6203af3f39d43d874f9f | [log] [tgz] |
|---|---|---|
| author | Bryan C. Mills <bcmills@google.com> | Fri Apr 21 11:42:20 2023 -0400 |
| committer | Gopher Robot <gobot@golang.org> | Fri Apr 21 20:04:37 2023 +0000 |
| tree | dea76269789343df0f27dfe4f9d5153416d1d7a1 | |
| parent | 87272bd1a18666ec38ac44c63e11c739f3054056 [diff] |
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>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.