mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -101,9 +101,7 @@ func (c *Cache) Piece(m metainfo.Piece) storage.PieceImpl {
|
||||
|
||||
func (c *Cache) Close() error {
|
||||
log.TLogln("Close cache for:", c.hash)
|
||||
if _, ok := c.storage.caches[c.hash]; ok {
|
||||
delete(c.storage.caches, c.hash)
|
||||
}
|
||||
delete(c.storage.caches, c.hash)
|
||||
c.pieces = nil
|
||||
|
||||
c.muReaders.Lock()
|
||||
|
||||
Reference in New Issue
Block a user