On Jan 19, 2011, at 3:21 PM, Corbin Dunn wrote:

> 
> In general, it is good practice in your apps to set your delegate and 
> datasource to nil. Who is to say something might cause a draw to happen, 
> which would then message your (now dealloced) delegate? Ideally, NSTableView 
> shouldn't message the delegate/datasource after the window is closed, but 
> something extra "setNeedsDisplay" messages get thrown into it, causing it to 
> happen, and crash. That is why your bug happened. 6728942 made an effort to 
> reduce the display message.
> 

If I'd set them in my code I would agree, but I expect that if it's set by the 
nib setup code then it should cleared by the nib cleanup 
code._______________________________________________

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