Skip navigation.
 
mlRe: NSSpeechSynthesizer leaking
FROM : Casey Fleser
DATE : Wed Dec 21 16:17:25 2005

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

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