Yes, they're currently disallowed. Something about memory corruption in the gc. This will probably be fixed eventually, but I wouldn't hold your breath.
"Sönke Ludwig" <[email protected]> wrote in message news:[email protected]... > On DMD I got some strange out-of-memory errors with the current 2.054 > version. I tracked it down to allocations happening during garbage > collection. > > Has something fundamental in the GC implementation changed in the latest > release? It used to work, but seems to be completely disallowed now. I > think it is quite a strong requirement to not make any allocations from > within finalizers and makes them just another bit more useless. (In my > case I have some logging going on which needs dynamic allocations for > formatting (Appender)). > > Regards, > Sönke
