I believe I've found the cause of this.

For future reference, the successful troubleshoot was logging at the beginning and end of any methods which might be invoked automatically to update views, such as -reloadData, -menuNeedsUpdate, - validateMenuItem, etc.

In my case, it looks like the deleted object is retained in a 'selectedObjects' instance variable which I had foolishly added in order to gain observability for some bindings. Then, upon deleting an object, a menu-update notification accesses 'selectedObjects' before the notification which updates and removes the deleted object from 'selectedObjects'.

_______________________________________________

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 arch...@mail-archive.com

Reply via email to