After analyzing my application with Instruments, the tool tells me I have memory leaks but I do not see why that message if I think I am releasing memory correctly. Any idea? Thanks in advance.
Make sure that syncTask is not retained in enqueue: method.
And one more possibility may be if you implement any delegate in TaskQueue make sure your are using assign not strong or retain in property.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.