set torrent name if empty title

This commit is contained in:
YouROK
2021-06-17 11:16:30 +03:00
parent c31c318321
commit 0be72ac2ba

View File

@@ -194,12 +194,10 @@ func (c *Cache) cleanPieces() {
c.removePiece(p) c.removePiece(p)
rems-- rems--
if rems <= 0 { if rems <= 0 {
break utils.FreeOSMemGC()
return
} }
} }
if rems <= 0 {
utils.FreeOSMemGC()
}
} }
} }