On 2013-12-19 08:27, Kagamin wrote:
https://github.com/Jebbs/DSFML/blob/master/src/dsfml/graphics/text.d#L241
Destructors are called by GC during the collection cycle, and writeln
may want to allocate, which is not allowed during collection, it may be
safer to use printf.


Isn't it allowed to do new allocations but not refer to existing memory allocated by the GC?

--
/Jacob Carlborg

Reply via email to