I'm trying to set up a shutdown function to delete a scene tree in glut. I put the atexit call at the beginning of main:and the function itself looks like:Code:atexit(shutDown);This seems like it should run to me, but I don't see anything when the program ends. What am I doing wrong?Code:void shutDown() { printf("shutting down...\n"); delete root; }