On Sat, 7 Feb 2009 17:32:58 -0800, Seth Willits <sli...@araelium.com> said: >BAD! BAD! BAD! BAD! >In my case, I have a document window with a table view in it, where >data source and delegate are the window controller. If the window is >oneShot NO, then the window controller is deallocated, but the views >in the window are still alive, and it tries to draw those views, >sending table view data source methods to the deallocated window >controller. >KABOOM.
Are you sure you're barking up the right tree? oneShot is all about what happens when the window is HIDDEN (orderOut). If the window is properly CLOSED, it's gone; it doesn't matter what the oneShot settings are. If there's a wrong setting in your story, it sounds more like it might be releasedWhenClosed. But it sounds if the problem is in the relationship between your window and your window controller. Hard to say from this distance. m. -- matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings _______________________________________________ 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