Skip to content

Commit

Permalink
Revert "reference the object"
Browse files Browse the repository at this point in the history
This reverts commit 60af0ce0f1503494f46a3e884a7e28eed99dca90.
  • Loading branch information
xtaci committed Nov 19, 2024
1 parent d093a6d commit d6d2b3b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions std/copy.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,5 @@ func Pipe(alice, bob io.ReadWriteCloser, closeWait int) (errA, errB error) {
// wait for both direction to close
wg.Wait()

// reference the object
alice.Close()
bob.Close()

return
}

0 comments on commit d6d2b3b

Please sign in to comment.