Re: Garbage collection and root objects

2008-11-28 Thread Raphael Sebbe
Hi, what makes you think the document is becoming invalid? You don't have to mark it in any way, if the document is open, it is stored in the documentController which is itself hooked by some GC root. Can you give more information? Raphael On Fri, Nov 28, 2008 at 3:56 PM, Thomas Davie <[EMAIL P

Garbage collection and root objects

2008-11-28 Thread Thomas Davie
Hi, I'm having a problem with a simple garbage collected app in which my NSDocument subclass appears to be becoming invalid (without the finalizer being called though). This only happens on the release build, so I guess it's something to do with the optimizing compiler using a less cons