Or the D runtime could just use the "atexit" function defined in
stdlib.h. Just add a callback which terminates the D runtime.

http://pubs.opengroup.org/onlinepubs/009695299/functions/atexit.html

If i interpret it correctly, a call to Runtime.terminate() (as I am doing right now), is the only and correct way?

Reply via email to