--- 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;
}