remove comment

This commit is contained in:
YouROK
2021-08-22 20:41:28 +03:00
parent e648d35168
commit 941bcb670a

View File

@@ -199,7 +199,6 @@ func (c *Cache) cleanPieces() {
rems := (c.filled-c.capacity)/c.pieceLength + 1 rems := (c.filled-c.capacity)/c.pieceLength + 1
for _, p := range remPieces { for _, p := range remPieces {
c.removePiece(p) c.removePiece(p)
//c.torrent.Piece(p.Id).UpdateCompletion() // safe call in Piece.Release()
rems-- rems--
if rems <= 0 { if rems <= 0 {
utils.FreeOSMemGC() utils.FreeOSMemGC()