APP_IS_SHUTTING_DOWN

set to true when exiting main - to detect destructor calls for resources by GC

__gshared
bool APP_IS_SHUTTING_DOWN;

Meta