mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
6b45a4ea06
the cache would behave badly when the same item was insert()ed twice: it would add the size twice to memory consumption, but would never substract it twice when purging the (actually single) object from cache. So the cache would seem to fill up while in fact it wasn't.