mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-26 17:12:30 -04:00
Fix transcoder error cache key removal
This commit is contained in:
@@ -43,7 +43,7 @@ func (t *Transcoder) getFileStream(path string, sha string) (*FileStream, error)
|
||||
})
|
||||
ret.ready.Wait()
|
||||
if ret.err != nil {
|
||||
t.streams.Remove(path)
|
||||
t.streams.Remove(sha)
|
||||
return nil, ret.err
|
||||
}
|
||||
return ret, nil
|
||||
|
||||
Reference in New Issue
Block a user