On Sunday, 27 December 2015 at 18:40:55 UTC, Jeremy DeHaan wrote:
I was playing around with some code today and I noticed that in some cases struct destructors are not called.
struct destructors are called when the struct ceases to exist in the program.
A global variable never ceases to exist as long as the program lives.