storage-chooser icon indicating copy to clipboard operation
storage-chooser copied to clipboard

Memory leak

Open TNPro85 opened this issue 7 years ago • 1 comments

I just tried to include your project in my app. It's running well, very good library. But LeakCanary detected some leaking issue. I attached a screenshot for your checking. photo_2018-07-10_16-30-24

I guess using public static dialog might not always be a good option. Please take a look. Looking forward to your feedback. Thanks.

TNPro85 avatar Jul 10 '18 09:07 TNPro85

Thanks for this, I made sure Context/Activity/Resource does not leak while writing, Dialog does use Context and will most probably leak it. I'll find a way to make it work without statically accessing it. Any and all suggestions are welcome.

codekidX avatar Jul 30 '18 16:07 codekidX