[Issue 11060] delete gives InvalidMemoryOperationError

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 17 23:22:10 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11060



--- Comment #3 from Maxim Fomin <maxim at maxim-fomin.ru> 2013-09-17 23:22:09 PDT ---
This was discussed really plenty of times - current garbage collector is not
reenterable. So, if GC during garbage collection calls destructor, you cannot
invoke any operation which directly or indirectly calls the GC.

Clear() and destroy() work because they don't call the GC.

-- 
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