On Wed, Feb 26, 2014, at 12:42 PM, Pax wrote:
> Thanks for your help. The problem is now solved - although I'm still none
> the wiser as to why the problem only manifested when the file was opened
> and then the document closed before the file was closed.  I'm kind of
> curious to understand what was going on under the hood that might explain
> this oddity - but I suppose I'll never know.

You _can_ know. It's not that hard. And until you _do_ know, the bug
isn't fixed.

> The solution to the problem was to empty the array populating the table
> and then reload the table before closing the document.  It feels like an
> oddly unnecessary extra step.

That's not a solution. It's programming by chance.

My spidey senses tell me that the crash happens because you forgot to
nil out the table view's delegate in your window controller's -dealloc.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

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

This email sent to [email protected]

Reply via email to