equal
deleted
inserted
replaced
298 if ( iObservers[i].iObserver == &aObserver ) |
298 if ( iObservers[i].iObserver == &aObserver ) |
299 { |
299 { |
300 iObservers.Remove( i ); |
300 iObservers.Remove( i ); |
301 } |
301 } |
302 } |
302 } |
|
303 iObservers.Compress(); |
303 |
304 |
304 return iObservers.Count() == 0; |
305 return iObservers.Count() == 0; |
305 } |
306 } |
306 |
307 |
307 // ----------------------------------------------------------------------------- |
308 // ----------------------------------------------------------------------------- |
483 { |
484 { |
484 PROFILE_DEBUG1( "CSipAlrSnapMonitor::ResetState entered" ) |
485 PROFILE_DEBUG1( "CSipAlrSnapMonitor::ResetState entered" ) |
485 |
486 |
486 DestroyMobilityAo(); |
487 DestroyMobilityAo(); |
487 Cancel(); |
488 Cancel(); |
488 iConnection.Close(); |
489 // iConnection.Close(); |
489 iMigrationAllowedByClient = EFalse; |
490 iMigrationAllowedByClient = EFalse; |
490 iConnectionActive = EFalse; |
491 iConnectionActive = EFalse; |
491 iPreferredCarrierAvailableCalled = EFalse; |
492 iPreferredCarrierAvailableCalled = EFalse; |
492 PROFILE_DEBUG1( "CSipAlrSnapMonitor::ResetState returns" ) |
493 PROFILE_DEBUG1( "CSipAlrSnapMonitor::ResetState returns" ) |
493 } |
494 } |