Triage a possible bug blocking while closing UTPConns
This commit is contained in:
parent
358f089515
commit
e1f720c770
@ -174,7 +174,8 @@ func (c *connection) Close() {
|
||||
default:
|
||||
}
|
||||
close(c.closing)
|
||||
c.Socket.Close()
|
||||
// TODO: This call blocks sometimes, why?
|
||||
go c.Socket.Close()
|
||||
}
|
||||
|
||||
func (c *connection) PeerHasPiece(index pp.Integer) bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user