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

ScriptIntrinsicBlur is leaking #59

Open
wilburx9 opened this issue Apr 12, 2019 · 0 comments
Open

ScriptIntrinsicBlur is leaking #59

wilburx9 opened this issue Apr 12, 2019 · 0 comments

Comments

@wilburx9
Copy link

Strictmode is detecting leakage of strictmode while calling

BlurKit.getInstance() .fastBlur(view, int, f)

java.lang.Throwable: Explicit termination method 'destroy' not called
at dalvik.system.CloseGuard.open(CloseGuard.java:223)
at android.renderscript.Allocation.(Allocation.java:421)
at android.renderscript.Allocation.(Allocation.java:425)
at android.renderscript.Allocation.createTyped(Allocation.java:2676)
at android.renderscript.Allocation.createTyped(Allocation.java:2707)
at io.alterac.blurkit.BlurKit.blur(BlurKit.java:32)
at io.alterac.blurkit.BlurKit.fastBlur(BlurKit.java:48)
at com.app.app.main.main.MainDialogFragment.getBlurredBitmap(MainDialogFragment.kt:101)
at com.app.app.main.main.MainDialogFragment.onActivityCreated(MainDialogFragment.kt:92)
at androidx.fragment.app.Fragment.performActivityCreated(Fragment.java:2565)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:907)
at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1235)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1301)
at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:710)
at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2071)
at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1861)
at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1816)
at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1723)
at androidx.fragment.app.FragmentManagerImpl$1.run(FragmentManagerImpl.java:146)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:7000)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)

@wilburx9 wilburx9 changed the title ScriptIntrinsicBlur is leanking ScriptIntrinsicBlur is leaking Apr 12, 2019
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