mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
remove readers close, it remove torrent, fix deadlock
This commit is contained in:
@@ -83,9 +83,6 @@ func (c *Cache) Close() error {
|
||||
c.bufferPull = nil
|
||||
|
||||
c.muReaders.Lock()
|
||||
for reader, _ := range c.readers {
|
||||
reader.Close()
|
||||
}
|
||||
c.readers = nil
|
||||
c.muReaders.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user