From 6942f3e6d5e825c5312644cd077b775c71461e4a Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 5 Feb 2016 01:19:42 +1100 Subject: [PATCH] Changes to piece priority need to be published as a piece state change This occurs because we're now able to deprioritize pieces after readers seek or close --- torrent.go | 1 + 1 file changed, 1 insertion(+) diff --git a/torrent.go b/torrent.go index 1d465957..987b5b8f 100644 --- a/torrent.go +++ b/torrent.go @@ -864,6 +864,7 @@ func (t *torrent) piecePriorityChanged(piece int) { c.updatePiecePriority(piece) } t.maybeNewConns() + t.publishPieceChange(piece) } func (t *torrent) updatePiecePriority(piece int) bool { -- 2.48.1