]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.26] internal/poll: readWriteUnlock should destroy fd when no...
authorqmuntal <quimmuntal@gmail.com>
Mon, 2 Feb 2026 11:06:22 +0000 (12:06 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 3 Feb 2026 15:55:04 +0000 (07:55 -0800)
commiteedccc63c087a16e297e91ab1004e0d7b88fe924
tree67cb55a4e6bda81f0f3014a78abb1d0ef681e1c4
parenta56d064bd3e8ed3320175708c725e459ba31d5cd
[release-branch.go1.26] internal/poll: readWriteUnlock should destroy fd when no remaining references

Updates #77404
Fixes #77405

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>
(cherry picked from commit 31c9bcb1037a332fd547808693cd1899090b5854)
Reviewed-on: https://go-review.googlesource.com/c/go/+/741360
Auto-Submit: Michael Pratt <mpratt@google.com>
src/internal/poll/fd_mutex.go
src/os/os_test.go