Program crash: GC destroys an object unexpectedly
eugene
dee0xeed at gmail.com
Tue Sep 21 20:36:49 UTC 2021
On Tuesday, 21 September 2021 at 20:17:15 UTC, eugene wrote:
> Now, change operation order in the main like this:
Actually, all proposed 'fixes'
- use stopper somehow in the end (writeln(stopper.sg0.number))
- change operation order
- etc
are strange. I mean it's strange (for me) that these
fixes make garbage collector behave as needed.
More information about the Digitalmars-d-learn
mailing list