• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSSpeechSynthesizer lifetime and garbage collected (GC) applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSSpeechSynthesizer lifetime and garbage collected (GC) applications (From: "Sean McBride" <email@hidden>)
 >Re: NSSpeechSynthesizer lifetime and garbage collected (GC) applications (From: "Clark Cox" <email@hidden>)
 >Re: NSSpeechSynthesizer lifetime and garbage collected (GC) applications (From: "Sean McBride" <email@hidden>)

  • Prev by Date: PDFDocument Subclass and Undo Manager Redux
  • Next by Date: Re: NSSpeechSynthesizer lifetime and garbage collected (GC) applications
  • Previous by thread: Re: NSSpeechSynthesizer lifetime and garbage collected (GC) applications
  • Next by thread: Re: NSSpeechSynthesizer lifetime and garbage collected (GC) applications
  • Index(es):
    • Date
    • Thread