--- a/ccservices/cmsservices/contactpresence/src/presenceiconinfo.cpp Tue May 25 12:26:45 2010 +0300
+++ b/ccservices/cmsservices/contactpresence/src/presenceiconinfo.cpp Wed Jun 09 09:26:27 2010 +0300
@@ -499,7 +499,11 @@
#endif
TRAP_IGNORE( iObs.ReceiveIconInfosL( ContactLink(), iPendings, info->OpId() ));
// This instance is not needed anymore
- Destroy();
+ if (!destroyed)
+ {
+ Destroy();
+ }
+
}
}
else if ( iNotifyPending )
@@ -510,7 +514,10 @@
// Empty notification
TRAP_IGNORE( iObs.ReceiveIconInfosL( ContactLink(), iPendings, iOpId ));
// This instance is not needed anymore
- Destroy();
+ if (!destroyed)
+ {
+ Destroy();
+ }
}
if ( !destroyed )