mpx/collectionframework/collectionserver/src/mpxcollectionserversession.cpp
branchRCL_3
changeset 19 51035f0751c2
parent 0 a2952bb97e68
--- 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);
-        }
     }
 
 // ----------------------------------------------------------------------------