2
0
mirror of synced 2025-02-24 14:48:27 +00:00

Triage a possible bug blocking while closing UTPConns

This commit is contained in:
Matt Joiner 2014-11-18 21:53:57 -06:00
parent 358f089515
commit e1f720c770

View File

@ -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 {