InvalidMemoryOperationError when calling functions from destructors
Steven Schveighoffer
schveiguy at yahoo.com
Fri Apr 26 23:12:01 PDT 2013
On Thu, 25 Apr 2013 10:57:13 -0700, Vladimir Panteleev
<vladimir at thecybershadow.net> wrote:
> On Thursday, 25 April 2013 at 16:17:57 UTC, Jacob Carlborg wrote:
>> You cannot access GC controlled memory in class destructors.
>
> Not true.
Can you be more specific? Maybe the wording was too strong. Should say
"you shouldn't access GC controlled memory in class destructors."
Or are you thinking of some specific case? Because the opposite of the
above is DEFINITELY not true. I just want to make that clear.
-Steve
More information about the Digitalmars-d
mailing list