Skip navigation.
 
mlRe: NSSpeechSynthesizer leaking
FROM : Vince DeMarco
DATE : Wed Dec 21 00:27:50 2005

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_removed>
> Instant Interactive(tm)  http://www.instantinteractive.com
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>

Related mailsAuthorDate
mlNSSpeechSynthesizer leaking Casey Fleser Dec 20, 20:10
mlRe: NSSpeechSynthesizer leaking Vince DeMarco Dec 20, 20:13
mlRe: NSSpeechSynthesizer leaking Casey Fleser Dec 20, 20:39
mlRe: NSSpeechSynthesizer leaking Ricky Sharp Dec 20, 23:36
mlRe: NSSpeechSynthesizer leaking Vince DeMarco Dec 21, 00:27
mlRe: NSSpeechSynthesizer leaking Casey Fleser Dec 21, 16:17