mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-15 08:23:46 +00:00
Recolocation of discV5 close in sub networks
This commit is contained in:
parent
2755aeec54
commit
aacb076ab1
1 changed files with 1 additions and 0 deletions
|
|
@ -265,6 +265,7 @@ func (p *PortalProtocol) Start() error {
|
||||||
func (p *PortalProtocol) Stop() {
|
func (p *PortalProtocol) Stop() {
|
||||||
p.cancelCloseCtx()
|
p.cancelCloseCtx()
|
||||||
p.table.close()
|
p.table.close()
|
||||||
|
p.DiscV5.Close()
|
||||||
err := p.utp.Close()
|
err := p.utp.Close()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
p.Log.Error("failed to close utp listener", "err", err)
|
p.Log.Error("failed to close utp listener", "err", err)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue