On Sat, Mar 14, 2009 at 11:53 AM, dsimcha <dsim...@yahoo.com> wrote:

> The point is that the destructor for instances of Foo is called by the GC, not
> manually.   The GC may have already realized that hugeDataStructure is not
> reachable.  Does this make the delete statement in the d'tor unsafe, or is it
> still ok?

Accessing or deleting any GC-managed memory in a destructor is unsafe,

Reply via email to