--- a/vtuis/videotelui/src/tvtuistaterunning.cpp Thu Jul 15 18:41:45 2010 +0300
+++ b/vtuis/videotelui/src/tvtuistaterunning.cpp Thu Aug 19 09:57:36 2010 +0300
@@ -107,7 +107,13 @@
switch ( aCommand )
{
case EVtUiCmdEndActiveCall:
- ShutdownWithEngineCommandL( KVtEngTerminateSession );
+ {
+ const MVtEngSessionInfo::TSessionState state = SessionState( EFalse );
+ if ( state == MVtEngSessionInfo::EOpen )
+ {
+ ShutdownWithEngineCommandL( KVtEngTerminateSession );
+ }
+ }
break;
case EVtUiCmdCreateVoice:
CreateVoiceCallL();