Daniel Keep wrote:
When your class' dtor is called, you CANNOT say whether any of the
references into GC-controlled memory you hold are still valid.

You forgot to add: unless you know for a *fact* they're referenced from a GC root, for example from a global variable (directly or indirectly).

Reply via email to