Re: Deadlock during NSCache flush
Re: Deadlock during NSCache flush
- Subject: Re: Deadlock during NSCache flush
- From: Jens Alfke <email@hidden>
- Date: Mon, 21 Oct 2013 19:53:16 -0700
On Oct 21, 2013, at 6:57 PM, ChanMaxthon <email@hidden> wrote:
> Can you just manually retain it before cleaning, and manually release it afterwards? You can use CFRetain()/CFRelease() for that, or use runtime functions objc_retain() and objc_release(). The latter two is not documented by Apple per sé, but it is documented by LLVM as requirements of ARC.
I’m not in control of the cache purge — it seems to be triggered as part of the app going into the background.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden