PhotoViewer icon indicating copy to clipboard operation
PhotoViewer copied to clipboard

mDestroyInterface 内存泄漏

Open xfnbing opened this issue 5 years ago • 0 comments

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

xfnbing avatar Nov 16 '20 02:11 xfnbing