client.go | 2 ++ diff --git a/client.go b/client.go index 149fc71acab99bd88b609de28c9edabf426a8fc8..7d115467dc8104df2eec504d1fcbaf96b0a3b20c 100644 --- a/client.go +++ b/client.go @@ -2517,10 +2517,12 @@ for p.Hashing || t.data == nil { cl.event.Wait() } p.QueuedForHash = false + t.publishPieceChange(piece) if t.isClosed() || t.pieceComplete(piece) { return } p.Hashing = true + t.publishPieceChange(piece) cl.mu.Unlock() sum := t.hashPiece(piece) cl.mu.Lock()