mirror of https://github.com/koreader/koreader
[fix] Cache: don't overwrite same CacheItem (#3847)
If the most recently used global cache item refers to the same page, it would be overwritten. This will happen when closing a paged (PDF/DjVu) document on the same page you opened it, as well as when opening and closing EPUBs with crengine because it uses its own cache. Fixes #3846.pull/3850/head
parent
d7a7a78731
commit
0e61eb7a7b
Loading…
Reference in New Issue