Hi, can anyone explain when exactly a variable that has global scope goes out of scope? I imagine it is when the application exits, but is this a reliable way of having an object destroyed at that time?(i.e. will the destructor for a globally defined object be called)