Re: NSSpeechSynthesizer leaking
Re: NSSpeechSynthesizer leaking
- Subject: Re: NSSpeechSynthesizer leaking
- From: Casey Fleser <email@hidden>
- Date: Wed, 21 Dec 2005 09:17:25 -0600
On Dec 20, 2005, at 5:27 PM, Vince DeMarco wrote:
On Dec 20, 2005, at 1:39 PM, Casey Fleser wrote:
Hmm? In speechSynthesizer: didFinishSpeaking: it says: [inSender
release].
BTW, I also tried creating an autoreleased version of
NSSpeechSynthesizer instead of releasing via the delegate
message. Either way though the NSSpeechSynthesizer will get
dealloc'd, but not clean up after itself properly.
I will probably work around this by creating a single
NSSpeechSynthesizer and reusing it as needed, but I shouldn't
have to.
Using a singleton is what I do. It's definitely a bug though that
you should file.
Also use MallocDebug or leaks and include that in the bug report.
It probably is us.
I filed it yesterday prior to this response, but if I have a moment
I'll go back and add whatever information MallocDebug can provide me
with.
Thanks,
Casey
_______________________________________________
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