http://d.puremagic.com/issues/show_bug.cgi?id=8875
--- Comment #4 from Maxim Fomin <ma...@maxim-fomin.ru> 2012-10-26 22:40:36 PDT --- (In reply to comment #3) > (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 ? Whether data is static or not does not affect GC behavior on collecting garbage when main function exits. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------