What about the “database” object? Is that yours? If so, can you retain/autorelease it (using runtime functions documented by LLVM) when purging?
On Oct 22, 2013, at 10:53, Jens Alfke <[email protected]> wrote: > > On Oct 21, 2013, at 6:57 PM, ChanMaxthon <[email protected]> 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
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
