Re: [NSCalendar currentCalendar] leak
Re: [NSCalendar currentCalendar] leak
- Subject: Re: [NSCalendar currentCalendar] leak
- From: Daniel Jalkut <email@hidden>
- Date: Sun, 5 Nov 2006 15:11:16 -0500
On Nov 5, 2006, at 2:04 PM, Bill Bumgarner wrote:
On Nov 5, 2006, at 8:01 AM, Daniel Jalkut wrote:
By looking at what "currentCalendar" actually does, we not only
get a great idea of how we can best imitate it, we also see
exactly what's causing the bug. Oops! Apple is using garbage
collection to manage the memory for this object. Apparently
somebody didn't get the memo that this wasn't going in for 10.4.
Or CFMakeCollectable() does nothing in a non-GC'd runtime, thus
enabling a binary to be shared between GC'd and non-GC'd
applications...
Good point - my speculation was unnecessarily negative.
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden