remove free os on remove piece

This commit is contained in:
YouROK
2021-02-20 09:41:00 +03:00
parent 9ae2df49e8
commit cef8694627

View File

@@ -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) {