signal an event when torrent closed
This commit is contained in:
parent
77e81061f5
commit
a3d231cb92
|
@ -553,6 +553,7 @@ func (t *Torrent) close() (err error) {
|
|||
for conn := range t.conns {
|
||||
conn.Close()
|
||||
}
|
||||
t.cl.event.Broadcast()
|
||||
t.pieceStateChanges.Close()
|
||||
t.updateWantPeersEvent()
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue