On Thu, May 29, 2008 at 11:15 PM, Geoff Schmidt <[EMAIL PROTECTED]> wrote:

> 3) If this is already known, is there a customary pattern for avoiding the
> problem? "Never release from observeValueForKeyPath" is a bit harsh!

I don't know if it's known, but you could try [obj
performSelector:@selector(release) withObject:nil afterDelay:0]
instead of [obj release] if you don't mind getting the extraneous
observeValueForKeyPath:... for that obj (it could have an "about to be
released" flag which would cause it to ignore the
observeValueForKeyPath:...)

Hamish
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to