Re: [NSStringDrawingTextStorage textContainerForAttributedString:] leaking?
Re: [NSStringDrawingTextStorage textContainerForAttributedString:] leaking?
- Subject: Re: [NSStringDrawingTextStorage textContainerForAttributedString:] leaking?
- From: Douglas Davidson <email@hidden>
- Date: Mon, 19 Jul 2004 11:46:22 -0700
On Jul 19, 2004, at 11:34 AM, Matt Gough wrote:
ObjectAlloc doesn't track leaks per se. These objects are being
cached, not leaked.
Don't suppose there is anyway to clear this cache/stop it happening? I
found ObjectAlloc to be much better than MallocDebug in tracking down
missing [someObj release] calls. These cached items and their
associated sub-objects makes it harder to spot my own mistakes.
If you run with -NSUseStringDrawingCache NO you should be able to avoid
these. The usual caveats apply--this option is meant for debugging
purposes, and is not guaranteed from one release to another.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.