--- a/mpx/collectionframework/collectionserver/src/mpxcollectionserversession.cpp Wed Mar 31 22:26:09 2010 +0300
+++ b/mpx/collectionframework/collectionserver/src/mpxcollectionserversession.cpp Wed Apr 14 16:28:17 2010 +0300
@@ -570,14 +570,14 @@
//
void CMPXCollectionSession::CancelRequests()
{
+ if (iContext)
+ {
+ iContext->CancelRequest(this);
+ }
if (!iMessage.IsNull())
{
iMessage.Complete(KErrCancel);
}
- if (iContext)
- {
- iContext->CancelRequest(this);
- }
}
// ----------------------------------------------------------------------------