Application not exiting gracefully if I want close to in CMainWindow ctor

Printable View