torrent.go | 1 + diff --git a/torrent.go b/torrent.go index 6da9d46a704e24e6d28283d9955a7a817bb6a551..f60b3865f0c02b74c422783ba5f622f8f2fcfd8b 100644 --- a/torrent.go +++ b/torrent.go @@ -553,6 +553,7 @@ } for conn := range t.conns { conn.Close() } + t.cl.event.Broadcast() t.pieceStateChanges.Close() t.updateWantPeersEvent() return