Re: Get error message about registered observers when Object receives dealloc message
Re: Get error message about registered observers when Object receives dealloc message
- Subject: Re: Get error message about registered observers when Object receives dealloc message
- From: Roland King <email@hidden>
- Date: Sun, 30 Aug 2009 17:53:04 +0800
On 30-Aug-2009, at 17:46, Andreas Grosam <email@hidden> wrote:
b. The release notes say that it was wrong for this message to
appear "when an object observed by a second object was deallocated,
its deallocation caused the release of the second object, and the
second object correctly unregistered itself as an observer of the
first object at that time due to its own deallocation". So this
sort of thing should be OK.
Nothing is clear here. Do the authors just mean, the exact wording
of the message was not correct, or do they mean there should no
message come up at all - since the code is correct?
The wording clearly implied the error message should not have been
logged and that the code is perfectly correct. I can see no other way
to read it.
It says "correctly unregistered itself" that really says code is ok.
If Singapore ever stops being sold out of snow leopard I'll compile it
and run it and find out.
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
_______________________________________________
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