--- a/webservices/wshostletconnection/src/senhostletconnectionimpl.cpp Wed Mar 31 23:17:32 2010 +0300
+++ b/webservices/wshostletconnection/src/senhostletconnectionimpl.cpp Wed Apr 14 17:07:28 2010 +0300
@@ -763,8 +763,8 @@
iTxnIdBuffer.Set(reinterpret_cast<TUint8*>(&iTxnId),
sizeof(TInt),
sizeof(TInt));
-
- SetActive();
+ if(!IsActive())
+ SetActive();
#ifdef EKA2
iActive->AsyncOpsArrayL().AppendL(this);
#else
@@ -939,7 +939,8 @@
CActiveScheduler::Add(this);
// Initial subscription
iFileProgressProperty.Subscribe(iStatus);
- SetActive();
+ if(!IsActive())
+ SetActive();
iStatus = KRequestPending;
}
@@ -961,7 +962,8 @@
{
// Resubscribe before processing new value to prevent missing updates(!):
iFileProgressProperty.Subscribe( iStatus );
- SetActive();
+ if(!IsActive())
+ SetActive();
iStatus = KRequestPending;
TLSLOG_L( KSenHostletConnectionLogChannelBase + iConnectionID, KSenServiceConnectionStatusLogLevel, "CSenFileProgressObserver::RunL" );