[Issue 8875] core.exception.InvalidMemoryOperationError in case of remove() in Destructors
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 26 15:32:02 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8875
hotcocoamix at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |FIXED
--- Comment #3 from hotcocoamix at gmail.com 2012-10-26 15:32:00 PDT ---
(In reply to comment #2)
> AFAIK D garbage collector is non-reenterable. When a program returns from main
> function and GC collects objects, destructors should not perform gc-related
> operations because it will result in InvalidMemoryOperationError.
I think non-static destructor must be able to operate static member.
so, GC must has more better Transfer of authority than if(running) .
its possible ?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list