Skip to content

mDestroyInterface 内存泄漏 #42

@xfnbing

Description

@xfnbing

使用leakcanary,监听到设置 setOnPhotoViewerDestroyListener后报内存泄漏。
PhotoViewer为object,新建出来的监听里调用了外部传入的监听,然而却没有释放的方法,造成PhotoViewer一直持有外部传入的监听对象

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