imstutils/imconversationview/imcvuiengine/src/cimcvenginecchhandler.cpp
branchRCL_3
changeset 25 fda5a9396e07
parent 4 f5911524345e
child 27 2b7283837edb
--- a/imstutils/imconversationview/imcvuiengine/src/cimcvenginecchhandler.cpp	Wed Jun 09 09:27:17 2010 +0300
+++ b/imstutils/imconversationview/imcvuiengine/src/cimcvenginecchhandler.cpp	Mon Jun 21 15:25:20 2010 +0300
@@ -329,7 +329,11 @@
 				// as user would loose all the on-going conversation when the network connection is
 				// restored.				
 				if (aServiceStatus.Error () != KCCHErrorNetworkLost )
-				iEngine.CloseAllOpenChatsL();
+				   {
+					iEngine.CloseAllOpenChatsL();
+					iEngine.ReleaseConnectionL ();
+					iEngine.DeleteContextL ();
+				   }
 				notifyEvent = MIMCVEngineCCHObserver::EDisconnecting;
 				break;	
 				}