Skip to content

Commit

Permalink
release dialer references
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 committed Jul 5, 2023
1 parent bf3f2b7 commit 236cfa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conn/connpool/onetimepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,7 @@ func (p *OneTimePool) Run() error {

func (p *OneTimePool) Close() error {
p.cancel()
// remove dialer references
p.Dialer = nil
return p.InFlightConns.Close()
}

0 comments on commit 236cfa9

Please sign in to comment.