Skip to content

Commit

Permalink
fix: removing call for client stopping dialers
Browse files Browse the repository at this point in the history
  • Loading branch information
WendelHime committed Nov 22, 2024
1 parent facfc87 commit 3c40f7d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,6 @@ func (client *Client) Configure(proxies map[string]*commonconfig.ProxyConfig) []
// Stop is called when the client is no longer needed. It closes the
// client listener and underlying dialer connection pool
func (client *Client) Stop() error {
err := client.dialer.get().Close()
if err != nil {
log.Errorf("failed to close dialer: %w", err)
}

httpListener, _ := client.httpListener.Get(eventual.DontWait)
socksListener, _ := client.socksListener.Get(eventual.DontWait)

Expand Down

0 comments on commit 3c40f7d

Please sign in to comment.