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

Calling RS with no Context active. #193

Open
i-farmer opened this issue Mar 3, 2021 · 1 comment
Open

Calling RS with no Context active. #193

i-farmer opened this issue Mar 3, 2021 · 1 comment

Comments

@i-farmer
Copy link

i-farmer commented Mar 3, 2021

BlurTransformation文件中关于RSBlur.blur的使用,其中RenderScript.releaseAllContexts()方法执行后,在离开activity的时候会报错

@i-farmer
Copy link
Author

i-farmer commented Mar 3, 2021

我现在的方式就是去掉 RenderScript.releaseAllContexts(),直接调用 rs.destroy();

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