mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
remove close engine reader
This commit is contained in:
@@ -113,9 +113,9 @@ func (r *Reader) Close() {
|
||||
// file reader close in gotorrent
|
||||
// this struct close in cache
|
||||
r.isClosed = true
|
||||
if len(r.file.Torrent().Files()) > 0 {
|
||||
r.Reader.Close()
|
||||
}
|
||||
// if len(r.file.Torrent().Files()) > 0 {
|
||||
// r.Reader.Close()
|
||||
// }
|
||||
go r.cache.getRemPieces()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user