• 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
NSConnection retaining delegate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSConnection retaining delegate?


  • Subject: NSConnection retaining delegate?
  • From: Alexander Spohr <email@hidden>
  • Date: Wed, 25 Nov 2009 18:15:40 +0100

Hi list,

is NSConnection retaining its delegate?
(At least as long as it is collecting data)

I thought contract is that a delegate is never retained?

This behavior requires to _always_ send cancel to the connection before you release the delegate. Otherwise the NSConnection might still hold on to the delegate which should by now have been purged from memory.

Is this right or am I wrong? Should I file a bug?

	atze

_______________________________________________

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

  • Prev by Date: Re: URLWithString fails to fails with bad string
  • Next by Date: Re: GC, variable optimized away wrongly?
  • Previous by thread: Re: Drawing: The Right place to keep bounds
  • Next by thread: Re: NSConnection retaining delegate?
  • Index(es):
    • Date
    • Thread