#228: Crash in my NSOutlineView data source --------------------------------+------------------------------------------- Reporter: cyber...@… | Owner: lsansone...@… Type: defect | Status: closed Priority: major | Milestone: Component: MacRuby | Resolution: invalid Keywords: crash | --------------------------------+-------------------------------------------
Comment(by cyber...@…): Greetings, Ah; thank you! That's what I needed to know. I figured there was something deeper that I was missing, but being new to Cocoa, I didn't even know what to look for. The key line appears to be ''The data source is in turn responsible for retaining all of the objects it provides to an outline view, and updating the outline view when there’s a change to the model. It is therefore not safe to release the root item—or any children—until you’re no longer displaying it in the outline view.'' Presumably they're being released by the GC in between accesses. Thanks very much for the pointer! -- Morgan Schweers -- Ticket URL: <http://www.macruby.org/trac/ticket/228#comment:4> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel