realtimenetprots/sipfw/ProfileAgent/Server/Src/sipalrmigrationcontroller.cpp
branchRCL_3
changeset 19 b5e99d8877c7
parent 18 f54bfd820e04
child 20 0dcb073356a5
equal deleted inserted replaced
18:f54bfd820e04 19:b5e99d8877c7
   176 	{
   176 	{
   177 	TInt index = FindIndex(aObserver);
   177 	TInt index = FindIndex(aObserver);
   178 	if (index != KErrNotFound)
   178 	if (index != KErrNotFound)
   179 		{
   179 		{
   180 		iObservers.Remove(index);
   180 		iObservers.Remove(index);
       
   181 		iObservers.Compress();
   181 		}
   182 		}
   182 
   183 
   183 	if (iObservers.Count() == 0)
   184 	if (iObservers.Count() == 0)
   184 		{
   185 		{
   185 		PROFILE_DEBUG1("CSipAlrMigrCtrl::DetachProfile free resources")
   186 		PROFILE_DEBUG1("CSipAlrMigrCtrl::DetachProfile free resources")