Skip to content

Commit 832c70e

Browse files
panjf2000ianlancetaylor
authored andcommitted
internal/poll: cast off the last reference of SplicePipe in test
Updates #45059 Change-Id: I9f377abcc7b77136ae6cf4896b968f73c758b559 Reviewed-on: https://go-review.googlesource.com/c/go/+/317510 Reviewed-by: Bryan C. Mills <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Go Bot <[email protected]>
1 parent d2b0311 commit 832c70e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/internal/poll/splice_linux_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ func TestSplicePipePool(t *testing.T) {
4646
poll.PutPipe(p)
4747
}
4848
ps = nil
49+
p = nil
4950

5051
// Exploit the timeout of "go test" as a timer for the subsequent verification.
5152
timeout := 5 * time.Minute

0 commit comments

Comments
 (0)