Throwing InvalidMemoryOperationError

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 4 12:20:31 PDT 2015


On 6/4/15 3:02 PM, Etienne Cimon wrote:
> Well, I think the error is that the GC is not using the TLS matching the
> corresponding object's destructors. Could this be possible?

Possible and likely :)

GC destruction can run in any thread, there is no guarantee they are run 
in the same thread.

-Steve


More information about the Digitalmars-d mailing list