good morning!!!!

Skip to content
Snippets Groups Projects
Commit c60f6f62 authored by Guilherme Salgado's avatar Guilherme Salgado Committed by Felix Lange
Browse files

p2p: don't discard reason set by Disconnect (#16559)

Peer.run was discarding the reason for disconnection sent to the disc
channel by Disconnect.
parent ba975dc0
Loading
......@@ -220,6 +220,7 @@ loop:
reason = discReasonForError(err)
break loop
case err = <-p.disc:
reason = discReasonForError(err)
break loop
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment