realtimenetprots/sipfw/ProfileAgent/Server/Src/sipalrmigrationcontroller.cpp
changeset 42 69df6ed78a6a
parent 37 0295359a7673
equal deleted inserted replaced
37:0295359a7673 42:69df6ed78a6a
   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")