diff -r 150a13bad6af -r 0802db42e4e9 webservices/wshostletconnection/src/senhostletconnectionimpl.cpp --- a/webservices/wshostletconnection/src/senhostletconnectionimpl.cpp Tue Jan 26 13:03:48 2010 +0200 +++ b/webservices/wshostletconnection/src/senhostletconnectionimpl.cpp Sun May 30 23:54:06 2010 +0530 @@ -763,8 +763,8 @@ iTxnIdBuffer.Set(reinterpret_cast(&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" );