From cef8694627cc2908776821a18ee85925bb0798e6 Mon Sep 17 00:00:00 2001 From: YouROK <8yourok8@mail.ru> Date: Sat, 20 Feb 2021 09:41:00 +0300 Subject: [PATCH] remove free os on remove piece --- 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 1b16a60..dbf00d8 100644 --- a/server/torr/storage/torrstor/cache.go +++ b/server/torr/storage/torrstor/cache.go @@ -96,7 +96,6 @@ func (c *Cache) Close() error { func (c *Cache) removePiece(piece *Piece) { piece.Release() - utils.FreeOSMemGC() } func (c *Cache) AdjustRA(readahead int64) {