Skip to content

N-SidedProgressBar context memory leak #3

@BoldakovAlex

Description

@BoldakovAlex

Good day. In the process of using leakCanary detects a leak. Refers to the context of the N-SidedProgressBar.

I use the progress bar in the Fragment. It is likely that the fragment can not be destroyed, because the progress bar keeps the weak to activity. It is probably necessary to free the context in the onDetachedFromWindow () method.

photo_2019-01-14_10-21-52

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