Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
This page was last modified 15:34, 7 August 2007.

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

From Forum Nokia Wiki

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".
Related Discussions
Thread Thread Starter Forum Replies Last Post
Crash when exiting from embedded app stew_mclean General Symbian C++ 2 2004-05-26 10:12
Exit(); gives user breakpoint error and suspends dj2five General Symbian C++ 1 2004-04-01 20:12
unexpected behaviour inside TRAPD rishikum General Symbian C++ 4 2007-04-10 04:19
Noki6600 addCommand() in fullscreen still not working with new firmware? mkleijer Mobile Java General 9 2005-03-01 16:25
Destructor not called mobhaku General Symbian C++ 8 2006-04-21 17:29
 
Powered by MediaWiki
RDF Facets: qfnZtypeQUqfnTypeZCommunityContentQ qfnZtypeQUqfnTypeZWebpageQ qfnZtypeQUqfnTypeZWikiContentQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX