When the GC collects them the destructor runs close(), which in turn calls for some allocation (e.g: allocates for a string to send to the logger),
Do you have to log? I've never had a problem calling C free functions in a class destructor in D.
Adam D. Ruppe via Digitalmars-d Mon, 12 Jan 2015 05:30:41 -0800
When the GC collects them the destructor runs close(), which in turn calls for some allocation (e.g: allocates for a string to send to the logger),
Do you have to log? I've never had a problem calling C free functions in a class destructor in D.