Exit Instance/Destructor not called

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello,

I am now thoroughly investigating a problem i ran into a few months ago.

Basically we noticed that our ExitInstance derived function ISNT called in _DEBUG mode.

I traced it back and also noted that the ~destructor isnt called for our CWinApp derived function either, and am currently assuming it is something in that the destructor calls ExitInstance, and as the ~desctructor isnt called ExitInstance isnt either.

Weird thing is, in release mode all is well.

Anyone got any ideas?

Thanks


View the full article
 
Back
Top