imstutils/imconversationview/imcvuiengine/src/cimcvenginecchhandler.cpp
branchRCL_3
changeset 25 fda5a9396e07
parent 4 f5911524345e
child 27 2b7283837edb
equal deleted inserted replaced
20:6b620215f837 25:fda5a9396e07
   327 				{
   327 				{
   328 				// If NetworkErrorLost error is received by CCH on this state, then do not close all chats
   328 				// If NetworkErrorLost error is received by CCH on this state, then do not close all chats
   329 				// as user would loose all the on-going conversation when the network connection is
   329 				// as user would loose all the on-going conversation when the network connection is
   330 				// restored.				
   330 				// restored.				
   331 				if (aServiceStatus.Error () != KCCHErrorNetworkLost )
   331 				if (aServiceStatus.Error () != KCCHErrorNetworkLost )
   332 				iEngine.CloseAllOpenChatsL();
   332 				   {
       
   333 					iEngine.CloseAllOpenChatsL();
       
   334 					iEngine.ReleaseConnectionL ();
       
   335 					iEngine.DeleteContextL ();
       
   336 				   }
   333 				notifyEvent = MIMCVEngineCCHObserver::EDisconnecting;
   337 				notifyEvent = MIMCVEngineCCHObserver::EDisconnecting;
   334 				break;	
   338 				break;	
   335 				}
   339 				}
   336 			default:
   340 			default:
   337 				{
   341 				{