On Sunday, 7 June 2015 at 10:23:22 UTC, Rikki Cattermole wrote: > Don't worry about collecting at the end. The OS will clean up > the app no matter what. Actually D runtime will also do a collection before exiting. This is why it shows "Number of collections: 2" above. One triggered manually, one by runtime.