[Issue 1512] GC infinite loop when invalid user code runs.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Sep 17 22:38:30 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1512
------- Comment #3 from braddr at puremagic.com 2007-09-18 00:38 -------
Actually, the more interesting part of this that actually should be considered
a bug... from the spec on part of what delete does:
The pointer, dynamic array, or reference is set to null after the delete is
performed.
The question I have is: should inst have been set to null since it's the
underlying storage for 'this'?
If it had been, then the second delete would have been a safe no-op.
--
More information about the Digitalmars-d-bugs
mailing list