Publish piece state changes after verifying piece
This commit is contained in:
parent
eed0743d4e
commit
2daa604eb2
|
@ -1552,6 +1552,7 @@ func (t *Torrent) verifyPiece(piece int) {
|
|||
cl.mu.Lock()
|
||||
p.hashing = false
|
||||
t.pieceHashed(piece, sum == p.hash)
|
||||
t.publishPieceChange(piece)
|
||||
}
|
||||
|
||||
// Return the connections that touched a piece, and clear the entry while
|
||||
|
|
Loading…
Reference in New Issue