Fixed 0xc0020001 being reported when you exit the application.