mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
fix close torrent on expired
This commit is contained in:
@@ -149,7 +149,7 @@ func (t *Torrent) watch() {
|
|||||||
func (t *Torrent) progressEvent() {
|
func (t *Torrent) progressEvent() {
|
||||||
if t.expired() {
|
if t.expired() {
|
||||||
log.TLogln("Torrent close by timeout", t.Torrent.InfoHash().HexString())
|
log.TLogln("Torrent close by timeout", t.Torrent.InfoHash().HexString())
|
||||||
t.drop()
|
t.bt.RemoveTorrent(t.Hash())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user