realtimenetprots/sipfw/ProfileAgent/Server/Src/sipalrmigrationcontroller.cpp
branchRCL_3
changeset 49 0a1ad22c7bdc
parent 44 0dcb073356a5
child 56 2c7192069824
equal deleted inserted replaced
46:346e49b9ce14 49:0a1ad22c7bdc
   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")