client.go | 2 +- diff --git a/client.go b/client.go index 162767055fee7a6dc52ed1d14ea3058804cd6c8b..5429dd870d37892b783c097932f9e54ae7e27f28 100644 --- a/client.go +++ b/client.go @@ -2511,8 +2511,8 @@ for p.Hashing || t.data == nil { cl.event.Wait() } p.QueuedForHash = false - t.publishPieceChange(piece) if t.isClosed() || t.pieceComplete(piece) { + t.publishPieceChange(piece) return } p.Hashing = true