DMD dll GC bug when calling a function from an interface that creates a new object
Guillaume Piolat
first.last at spam.org
Thu Nov 3 14:53:19 UTC 2022
On Thursday, 3 November 2022 at 04:38:28 UTC, cc wrote:
>
> D DLLs each operate under a separate GC context from the main
> process, so anything `new`ed in a DLL may be collected if a
> reference to it isn't maintained there. You can link them
> together so they share the same GC with something like this:
>
Ooooooh this explain so much strange bugs we had with D programs
hosting D DLL.
More information about the Digitalmars-d
mailing list