webservices/wslocaltransportplugin/src/senlocaltransportplugin.cpp
changeset 23 a1df79fa35b4
parent 0 62f9d29f7211
child 38 d9641c85af2b
--- a/webservices/wslocaltransportplugin/src/senlocaltransportplugin.cpp	Fri Apr 16 16:07:50 2010 +0300
+++ b/webservices/wslocaltransportplugin/src/senlocaltransportplugin.cpp	Fri Jun 11 14:42:58 2010 +0300
@@ -249,7 +249,8 @@
         if(!pRequest->IsActive())
             {
             TLSLOG_L(KSenLocalTransportLogChannelBase,KNormalLogLevel,"- Activating request / async call to the provider.");
-            pRequest->SetActive();
+            if(!pRequest->IsActive())
+            	pRequest->SetActive();
             }
         pRequest->iStatus = KRequestPending;
         TRequestStatus* status = &pRequest->iStatus;
@@ -426,7 +427,8 @@
         }
 
     iStatus = KRequestPending;
-    SetActive();
+    if(!IsActive())
+    	SetActive();
     }
 
 const TThreadId CSenLocalRequest::OwnerThreadId() const