Skip to content

Commit

Permalink
Recolocation of discV5 close in sub networks
Browse files Browse the repository at this point in the history
  • Loading branch information
r4f4ss committed Sep 19, 2024
1 parent 2755aee commit aacb076
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions p2p/discover/portal_protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ func (p *PortalProtocol) Start() error {
func (p *PortalProtocol) Stop() {
p.cancelCloseCtx()
p.table.close()
p.DiscV5.Close()
err := p.utp.Close()
if err != nil {
p.Log.Error("failed to close utp listener", "err", err)
Expand Down

0 comments on commit aacb076

Please sign in to comment.