8000 资源释放清除问题 · Issue #16 · minetsh/Imaging · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

资源释放清除问题 #16

New issue

Have a question about AB25 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

Open
tujingwu opened this issue Jun 21, 2019 · 1 comment
Open

资源释放清除问题 #16

tujingwu opened this issue Jun 21, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@tujingwu
Copy link

这个库很好啊,图片处理方式和思路。不过如果单独使用IMGView作为图片编辑view的话,会引起很多异常,主要是资源释放问题。
比如异常:1、Canvas: trying to use a recycled bitmap android.graphics.Bitmap@XXX。
复现情况:比如第一个界面跳转到第二个界面设置setImageBitmap(bitmap),然后退出(没释放资源),如此反复。
异常位置:IMGView类524行里,的
// 绘制图片
canvas.drawBitmap(mImage, null, mFrame, null);

@ilinqh
Copy link
ilinqh commented Dec 7, 2019

我这边也有相同的问题,请问要怎么解决

@minetsh minetsh added the bug Something isn't working label Dec 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
0