Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提示资源没有关闭。怎么保持严格模式下可用 #11

Open
linshaodong opened this issue Dec 20, 2020 · 0 comments
Open

提示资源没有关闭。怎么保持严格模式下可用 #11

linshaodong opened this issue Dec 20, 2020 · 0 comments

Comments

@linshaodong
Copy link

E/StrictMode: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
java.lang.Throwable: Explicit termination method 'close' not called
at dalvik.system.CloseGuard.open(CloseGuard.java:180)
at java.io.FileOutputStream.(FileOutputStream.java:222)
at com.bumptech.glide.disklrucache.DiskLruCache.readJournal(DiskLruCache.java:279)
at com.bumptech.glide.disklrucache.DiskLruCache.open(DiskLruCache.java:226)
at com.draggable.library.extension.glide.GlideHelper.imageIsInCache(GlideHelper.kt:101)
at com.draggable.library.core.DraggableImageView.loadAvailableImage(DraggableImageView.kt:207)
at com.draggable.library.core.DraggableImageView.access$loadAvailableImage(DraggableImageView.kt:36)
at com.draggable.library.core.DraggableImageView$showImage$1$1.run(DraggableImageView.kt:189)
at android.os.Handler.handleCallback(Handler.java:754)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:165)
at android.app.ActivityThread.main(ActivityThread.java:6375)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant