• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [NSCalendar currentCalendar] leak
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: [NSCalendar currentCalendar] leak (From: Matt Neuburg <email@hidden>)
 >Re: [NSCalendar currentCalendar] leak (From: Mike Abdullah <email@hidden>)
 >Re: [NSCalendar currentCalendar] leak (From: Daniel Jalkut <email@hidden>)
 >Re: [NSCalendar currentCalendar] leak (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: core data key/value observation failure - even more information
  • Next by Date: Re: Indicate loading while bindings read from Core Data
  • Previous by thread: Re: [NSCalendar currentCalendar] leak
  • Next by thread: Re: [NSCalendar currentCalendar] leak
  • Index(es):
    • Date
    • Thread