NSConnection retaining delegate?
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