]> Cypherpunks repositories - gostls13.git/commit
internal/poll: readWriteUnlock should destroy fd when no remaining references
authorqmuntal <quimmuntal@gmail.com>
Mon, 2 Feb 2026 11:06:22 +0000 (12:06 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Tue, 3 Feb 2026 09:00:16 +0000 (01:00 -0800)
commit31c9bcb1037a332fd547808693cd1899090b5854
tree21a13fd5676652402a9c99cbd8530f23c0708799
parent18d31e3e8bf47538c8a570268cd714d47bf01aef
internal/poll: readWriteUnlock should destroy fd when no remaining references

Fixes #77404

Change-Id: I0402becb94855baf942d6ba3815cc2a3c1526d6e
Reviewed-on: https://go-review.googlesource.com/c/go/+/740921
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/internal/poll/fd_mutex.go
src/os/os_test.go