Ios Circular references caused by dispatch series of code blocks

I have been looking for memory leaks for a whole day, but I missed this code block, and it turned out to be it. I hope everyone will pay attention to it in the future.

dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(300 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{

Leave a Reply

Your email address will not be published. Required fields are marked *