equal
deleted
inserted
replaced
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 { |