Re: NSSpeechSynthesizer leaking
Re: NSSpeechSynthesizer leaking
- Subject: Re: NSSpeechSynthesizer leaking
- From: Vince DeMarco <email@hidden>
- Date: Tue, 20 Dec 2005 15:27:50 -0800
On Dec 20, 2005, at 2:36 PM, Ricky Sharp 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.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.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
_______________________________________________
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