equal
deleted
inserted
replaced
497 #ifdef _DEBUG |
497 #ifdef _DEBUG |
498 CContactPresence::WriteToLog( _L8( "CPresenceIconInfo::SendPendingCallback ReceiveIconInfosL CALLBACK this=%d" ),(TInt)this ); |
498 CContactPresence::WriteToLog( _L8( "CPresenceIconInfo::SendPendingCallback ReceiveIconInfosL CALLBACK this=%d" ),(TInt)this ); |
499 #endif |
499 #endif |
500 TRAP_IGNORE( iObs.ReceiveIconInfosL( ContactLink(), iPendings, info->OpId() )); |
500 TRAP_IGNORE( iObs.ReceiveIconInfosL( ContactLink(), iPendings, info->OpId() )); |
501 // This instance is not needed anymore |
501 // This instance is not needed anymore |
502 Destroy(); |
502 if (!destroyed) |
|
503 { |
|
504 Destroy(); |
|
505 } |
|
506 |
503 } |
507 } |
504 } |
508 } |
505 else if ( iNotifyPending ) |
509 else if ( iNotifyPending ) |
506 { |
510 { |
507 #ifdef _DEBUG |
511 #ifdef _DEBUG |
508 CContactPresence::WriteToLog( _L8( "CPresenceIconInfo::SendPendingCallback ReceiveIconInfosL CALLBACK this=%d" ),(TInt)this ); |
512 CContactPresence::WriteToLog( _L8( "CPresenceIconInfo::SendPendingCallback ReceiveIconInfosL CALLBACK this=%d" ),(TInt)this ); |
509 #endif |
513 #endif |
510 // Empty notification |
514 // Empty notification |
511 TRAP_IGNORE( iObs.ReceiveIconInfosL( ContactLink(), iPendings, iOpId )); |
515 TRAP_IGNORE( iObs.ReceiveIconInfosL( ContactLink(), iPendings, iOpId )); |
512 // This instance is not needed anymore |
516 // This instance is not needed anymore |
513 Destroy(); |
517 if (!destroyed) |
|
518 { |
|
519 Destroy(); |
|
520 } |
514 } |
521 } |
515 |
522 |
516 if ( !destroyed ) |
523 if ( !destroyed ) |
517 { |
524 { |
518 iNotifyPending = EFalse; |
525 iNotifyPending = EFalse; |