diff --git a/server/torr/storage/torrstor/cache.go b/server/torr/storage/torrstor/cache.go index ccdbd0e..e887841 100644 --- a/server/torr/storage/torrstor/cache.go +++ b/server/torr/storage/torrstor/cache.go @@ -199,7 +199,6 @@ func (c *Cache) cleanPieces() { rems := (c.filled-c.capacity)/c.pieceLength + 1 for _, p := range remPieces { c.removePiece(p) - //c.torrent.Piece(p.Id).UpdateCompletion() // safe call in Piece.Release() rems-- if rems <= 0 { utils.FreeOSMemGC()