Skip to content

Commit

Permalink
add some comments in proxy/proxy.go
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidapaulopt committed Jan 3, 2025
1 parent 954c293 commit 7c9d905
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ func NewProxy(log zerolog.Logger,

// Close method is a method that initiate proxy close procedure.
func (proxy *Proxy) Close() {
// cancel context
proxy.cancel()
// make sure all listeners are closed
proxy.close()
}

Expand Down

0 comments on commit 7c9d905

Please sign in to comment.