equal
deleted
inserted
replaced
1006 REComSession::FinalClose(); |
1006 REComSession::FinalClose(); |
1007 |
1007 |
1008 FeatureManager::UnInitializeLib(); |
1008 FeatureManager::UnInitializeLib(); |
1009 __VTPRINTEXIT( "VtUi.~" ) |
1009 __VTPRINTEXIT( "VtUi.~" ) |
1010 VTLOGUNINIT |
1010 VTLOGUNINIT |
|
1011 |
|
1012 // Directly exit with all allocated resources cleaned |
|
1013 User::Exit( EEikCmdExit ); |
1011 } |
1014 } |
1012 |
1015 |
1013 // ----------------------------------------------------------- |
1016 // ----------------------------------------------------------- |
1014 // CVtUiAppUi::SwitchLayoutToFlatStatusPaneL |
1017 // CVtUiAppUi::SwitchLayoutToFlatStatusPaneL |
1015 // ----------------------------------------------------------- |
1018 // ----------------------------------------------------------- |
7128 { |
7131 { |
7129 if ( iAppUi.iState && |
7132 if ( iAppUi.iState && |
7130 iAppUi.iState->HandleVTCommandPerformedL( aCommand, aError ) == |
7133 iAppUi.iState->HandleVTCommandPerformedL( aCommand, aError ) == |
7131 TVtUiAppStateBase::EEventHandled ) |
7134 TVtUiAppStateBase::EEventHandled ) |
7132 { |
7135 { |
|
7136 if( aCommand == KVtEngTerminateSession )//add for memory leak |
|
7137 { |
|
7138 const TInt count1 = iCommandObservers.Count(); |
|
7139 for ( TInt index = 0; index < count1; index++ ) |
|
7140 { |
|
7141 MVtEngCommandObserver* obs = iCommandObservers[ index ]; |
|
7142 if ( obs ) |
|
7143 { |
|
7144 TRAP_IGNORE( obs->HandleVTCommandPerformedL( aCommand, aError ) ); |
|
7145 } |
|
7146 } |
|
7147 } |
7133 // state didn't allow further processing of command completion |
7148 // state didn't allow further processing of command completion |
7134 __VTPRINTEXITR( "VtUiComms.HandleVTCommandPerformedL %d", 0 ) |
7149 __VTPRINTEXITR( "VtUiComms.HandleVTCommandPerformedL %d", 0 ) |
7135 return; |
7150 return; |
7136 } |
7151 } |
7137 } |
7152 } |