mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
add double disable prior
This commit is contained in:
@@ -77,5 +77,7 @@ func (p *Piece) Release() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
p.cache.torrent.Piece(p.Id).SetPriority(torrent.PiecePriorityNone)
|
p.cache.torrent.Piece(p.Id).SetPriority(torrent.PiecePriorityNone)
|
||||||
|
// fix remove pieces hash
|
||||||
p.cache.torrent.Piece(p.Id).UpdateCompletion()
|
p.cache.torrent.Piece(p.Id).UpdateCompletion()
|
||||||
|
p.cache.torrent.Piece(p.Id).SetPriority(torrent.PiecePriorityNone)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user