From aacb076ab1959cac5a4a1d6479184c4b0600941a Mon Sep 17 00:00:00 2001 From: Rafael Sampaio <5679073+r4f4ss@users.noreply.github.com> Date: Wed, 18 Sep 2024 22:07:04 -0300 Subject: [PATCH] Recolocation of discV5 close in sub networks --- p2p/discover/portal_protocol.go | 1 + 1 file changed, 1 insertion(+) diff --git a/p2p/discover/portal_protocol.go b/p2p/discover/portal_protocol.go index a1b32fc15dc0..c59c268f741b 100644 --- a/p2p/discover/portal_protocol.go +++ b/p2p/discover/portal_protocol.go @@ -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)