delegate
的属性不是weakNSTimer
没有invalidateblock
中的强引用调用了
performSelector
,退出时没有cancelPerformSelectorsWithTarget
This method sets up a timer to perform the aSelector message on the current thread’s run loop. The timer is configured to run in the default mode (NSDefaultRunLoopMode).
performSelector
其实就是定时器,会强引用object。如果delay很长的话,就会被导致object很长时间不会被释放。
转载于:https://www.cnblogs.com/huahuahu/p/dao-zhiVC-bu-neng-shi-fang-de-ji-ge-yuan-yin.html