mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
set torrent name if empty title
This commit is contained in:
@@ -193,12 +193,10 @@ func (c *Cache) cleanPieces() {
|
|||||||
for _, p := range remPieces {
|
for _, p := range remPieces {
|
||||||
c.removePiece(p)
|
c.removePiece(p)
|
||||||
rems--
|
rems--
|
||||||
if rems <= 0 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if rems <= 0 {
|
if rems <= 0 {
|
||||||
utils.FreeOSMemGC()
|
utils.FreeOSMemGC()
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user