realtimenetprots/sipfw/ProfileAgent/Server/Src/sipalrmigrationcontroller.cpp
changeset 45 15965fe54016
parent 39 7cdef8deefa0
equal deleted inserted replaced
39:7cdef8deefa0 45:15965fe54016
   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")