Re: NSSpeechSynthesizer lifetime and garbage collected (GC) applications
Re: NSSpeechSynthesizer lifetime and garbage collected (GC) applications
- Subject: Re: NSSpeechSynthesizer lifetime and garbage collected (GC) applications
- From: "Clark Cox" <email@hidden>
- Date: Fri, 11 Jul 2008 15:40:19 -0700
On Fri, Jul 11, 2008 at 3:08 PM, Sean McBride <email@hidden> wrote:
> On 7/11/08 10:36 AM, Clark Cox said:
>
>>> I'm guessing this is because the speechSynthesizer is collected before
>>> it finishes speaking. Is this 'correct behaviour' or a bug? Needless
>>> to say, the docs say nothing about special considerations for garbage
>>> collection. My speechSynthesizer has no delegate, and I don't care when
>>> it starts or stops speaking. Shouldn't that make it
>>> NSSpeechSynthesizer's job to keep itself alive until it finishes
>>> speaking? Afterall, _I'm_ finished with the speechSynthesizer.
>>
>>If I were you, I'd file a Bug.
>
> Meaning you agree with me that it shouldn't be my job to keep a strong
> reference until its finished speaking?
Yes, I agree with you.
(I'm, of course, just speaking for myself, not Apple)
--
Clark S. Cox III
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden