--- a/emailuis/emailui/src/FreestyleEmailDownloadInformationMediator.cpp Wed Mar 31 21:08:33 2010 +0300
+++ b/emailuis/emailui/src/FreestyleEmailDownloadInformationMediator.cpp Wed Apr 14 15:42:15 2010 +0300
@@ -397,7 +397,14 @@
{
if ( iObserverArray[i].iObserver == aObserver && iObserverArray[i].iMessageId == aMessageId )
{
- RemoveObserver(i);
+
+ TDownloadCount countObject( aMessageId );
+ TInt idx = iDownloadCountArray.Find( countObject,
+ TIdentityRelation<TDownloadCount>(EqualMessageId) );
+ if ( idx == KErrNotFound )
+ {
+ RemoveObserver(i);
+ }
}
}
}