From 941bcb670a69cb3cd67ada8853c4c9bd32dc7b7b Mon Sep 17 00:00:00 2001 From: YouROK <8yourok8@mail.ru> Date: Sun, 22 Aug 2021 20:41:28 +0300 Subject: [PATCH] remove comment --- server/torr/storage/torrstor/cache.go | 1 - 1 file changed, 1 deletion(-) 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()