JakeWharton/DiskLruCache

A resource was acquired at attached stack trace but never released.

caxton opened this issue · 1 comments

This version still have leakage issue:

09-09 21:47:38.549 31155 31164 E StrictMode: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
09-09 21:47:38.549 31155 31164 E StrictMode: java.lang.Throwable: Explicit termination method 'close' not called
09-09 21:47:38.549 31155 31164 E StrictMode: at dalvik.system.CloseGuard.open(CloseGuard.java:184)
09-09 21:47:38.549 31155 31164 E StrictMode: at java.io.FileInputStream.(FileInputStream.java:80)
09-09 21:47:38.549 31155 31164 E StrictMode: at com.htc.lib2.photoplatformcachemanager.DiskLruCache.get(DiskLruCache.java:423)
...

I think this is duplicated on square/picasso#296