mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
@@ -75,8 +75,7 @@ func (p *Piece) Release() {
|
|||||||
p.dPiece.Release()
|
p.dPiece.Release()
|
||||||
}
|
}
|
||||||
if !p.cache.isClosed {
|
if !p.cache.isClosed {
|
||||||
// UpdateCompletion() also handle PiecePriority
|
p.cache.torrent.Piece(p.Id).SetPriority(torrent.PiecePriorityNone)
|
||||||
//p.cache.torrent.Piece(p.Id).SetPriority(torrent.PiecePriorityNone)
|
|
||||||
p.cache.torrent.Piece(p.Id).UpdateCompletion()
|
p.cache.torrent.Piece(p.Id).UpdateCompletion()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user