diff options
| author | Damien Neil <dneil@google.com> | 2025-05-09 16:18:49 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-05-20 12:36:34 -0700 |
| commit | d596bc0e819aec2cf65a61d8b92f6bec8e0a7124 (patch) | |
| tree | 14c158aaf6d5181ff698ff7d5f631961f129cfc4 /src/internal/pkgbits/decoder.go | |
| parent | b7382cc1f012016c91036c49db0ea6db444b47d8 (diff) | |
| download | go-d596bc0e819aec2cf65a61d8b92f6bec8e0a7124.tar.xz | |
runtime: disallow closing bubbled chans from outside bubble
A chan created within a synctest bubble may not be
operated on from outside the bubble.
We panicked on send and receive, but not close.
Panic on close as well.
For #67434
Change-Id: I98d39e0cf7baa1a679aca1fb325453d69c535308
Reviewed-on: https://go-review.googlesource.com/c/go/+/671960
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/internal/pkgbits/decoder.go')
0 files changed, 0 insertions, 0 deletions
