×
Namespaces

Variants
Actions

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

From Nokia Developer Wiki
Jump to: navigation, search
{{{width}}}
30 Sep
2009
Article Review by kamalakshan (20090930)

This article explains very well the difference between using AppUi::Exit() and User::Exit(). Usually it is advised to exit any application using AppUi::Exit() instead of User::Exit(). The explanation on why this is essential has been highlighted very well in this article.

FYI: AppUi::Exit() DOES leave even in normal conditions, with the special leave code KLeaveExit (-1003). This way it breaks the execution of the function from where it was called, and the Active Scheduler of the current thread catches this code and stops the scheduler. --mrtj 13:28, 18 January 2011 (UTC)

 
×