• 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: Transitioning to GC-supported
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transitioning to GC-supported


  • Subject: Re: Transitioning to GC-supported
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 26 Oct 2009 21:25:13 -0700


On Oct 26, 2009, at 8:43 PM, Dave Keck wrote:

For example, I have an object that [self retain]; while it does some
work that takes awhile. I don't hold a reference to this object
anywhere after it's created - it simply notifies its delegate when its
finished.

I remember a thread about this a few weeks ago. I'm pretty sure that there will be a reference to that object somewhere, since it is either the the receiver of a message running on an NSThread, or the target of an NSTimer, or the delegate of an NSURLConnection, or something like that.


That is, it's either actively running (and thus has pointers to itself on the stack), or it's waiting for something else to call it via a pointer to it.

—Jens

_______________________________________________

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: 
 >Transitioning to GC-supported (From: Dave Keck <email@hidden>)
 >Re: Transitioning to GC-supported (From: Jens Alfke <email@hidden>)
 >Re: Transitioning to GC-supported (From: Dave Keck <email@hidden>)

  • Prev by Date: Core Data: Undoing Cut-Paste, Drag-Drop between documents
  • Next by Date: Re: first responder being clobbered
  • Previous by thread: Re: Transitioning to GC-supported
  • Next by thread: Re: Transitioning to GC-supported
  • Index(es):
    • Date
    • Thread