mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
remove free os on remove piece
This commit is contained in:
@@ -96,7 +96,6 @@ func (c *Cache) Close() error {
|
|||||||
|
|
||||||
func (c *Cache) removePiece(piece *Piece) {
|
func (c *Cache) removePiece(piece *Piece) {
|
||||||
piece.Release()
|
piece.Release()
|
||||||
utils.FreeOSMemGC()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Cache) AdjustRA(readahead int64) {
|
func (c *Cache) AdjustRA(readahead int64) {
|
||||||
|
|||||||
Reference in New Issue
Block a user