thiagoperes / IDMPhotoBrowser

Photo Browser / Viewer inspired by Facebook's and Tweetbot's with ARC support, swipe-to-dismiss, image progress and more
MIT License
2.71k stars 641 forks source link

@selector(doneButtonPressed:) memery leak #303

Open xuewugoujie opened 6 years ago

xuewugoujie commented 6 years ago

Click DoneButton when IDMPhotoBrowser disappear。 show memery leak

xujinhui commented 4 years ago

when click Done Button , IDMPhotoBrowser dismiss; but xcode log like this:

UMengCommon<1.5.2>(Debug):[UMWorkDispatch:173]E_UM_C_NET_IDLE and no data to send. 2019-09-30 16:11:10.177812+0800[4419:1286312] Memory Leak: [ IDMPhotoBrowser ] 2019-09-30 16:11:10.178170+0800[4419:1286312] Possibly Memory Leak. In case that IDMPhotoBrowser should not be dealloced, override -willDealloc in IDMPhotoBrowser by returning NO. View-ViewController stack: ( IDMPhotoBrowser ) 2019-09-30 16:11:12.215692+0800[4419:1286312] Retain Cycle: [ -> target -> IDMPhotoBrowser , -> _controlVisibilityTimer -> __NSCFTimer ]