Skip to content

StrictMode: A resource was acquired at attached stack trace but never released #27

@itzikBraun

Description

@itzikBraun

RSBlur creates 4 Objects(2 Allocation, RenderScript and ScriptIntrinsicBlur) but it only destroys the RenderScript. This causes the resources to stick around and never get released. Calling destroy on all of those object in the finally clause fixes the issue.

I will try to find the time to make a PR.

Tested on a Nexus 6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions