Re: NSDatePicker leaking in graphical mode?
Re: NSDatePicker leaking in graphical mode?
- Subject: Re: NSDatePicker leaking in graphical mode?
- From: Matt Neuburg <email@hidden>
- Date: Sun, 16 Jul 2006 13:47:06 -0700
- Thread-topic: NSDatePicker leaking in graphical mode?
On or about 7/16/06 10:39 AM, thus spake "Oliver Quas" <email@hidden>:
> Hi Matt,
>
> i used "leaks" from the CLI. It displayed a lot of NSCFCalendarDate
> leaks. And the number increased, when manipulating the view
> containing the NSDatePicker.
>
> Also i think, the reason why there are leaks is not the invocation of
> [myDatePicker setDateValue:] - it's actually [myDatePicker
> setCalendar:[NSCalendar currentCalendar]]. I haven't tested if
> setDateValue: causes any trouble.
Okay, that's much better information. - Well, following up on this, I wrote
an app *without* an NSDatePicker; it just calls
[NSCalendar currentCalendar];
And that is enough to exhibit the leak! If you say that three times, you get
three CFCalendars that don't go away.
So you should report this as a bug in NSCalendar; it has nothing to do with
NSDatePicker.
m.
--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide - Second Edition!
http://www.amazon.com/gp/product/0596102119
Take Control of Word 2004, Tiger, and more -
http://www.takecontrolbooks.com/tiger-customizing.html
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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