Skip to content

Commit

Permalink
Free socket memory
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicletz committed Nov 22, 2024
1 parent 9837e96 commit 9926f65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpc/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,7 @@ func (client *Client) Close() {
}
if client.s != nil {
client.s.Close()
client.s = nil
}
})
if timeout == nil && doCleanup {
Expand Down

0 comments on commit 9926f65

Please sign in to comment.