Namespaces
Variants
Actions

AppUi::Exit() vs User::Exit()

Jump to: navigation, search
Article Metadata

Article
Created: vasant21 (07 Aug 2007)
Last edited: hamishwillee (03 Feb 2012)

User::Exit()

  • User::Exit() terminates the current thread or current process ( If the current thread is the main thread in a process), cleaning up any resources used.
  • User::Exit() does not call the destructors, it forcefully cleans the resources.
  • This function cannot leave.

AppUi::Exit()

  • It closes the app UI , it stops the CONE environment, the active scheduler, and calls other functions, such as CCoeEnv::PrepareToExit() before destroying the environment.
  • AppUi::Exit() initiates systematic cleanup of the resources by calling destructor's and appropriate framework routines, hence it can leave even if it does not contain trailing "L".
This page was last modified on 3 February 2012, at 07:09.
119 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved