realtimenetprots/sipfw/ProfileAgent/Server/Src/sipalrmigrationcontroller.cpp
branchRCL_3
changeset 44 0dcb073356a5
parent 43 b5e99d8877c7
child 49 0a1ad22c7bdc
equal deleted inserted replaced
43:b5e99d8877c7 44:0dcb073356a5
   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();
       
   182 		}
   181 		}
   183 
   182 
   184 	if (iObservers.Count() == 0)
   183 	if (iObservers.Count() == 0)
   185 		{
   184 		{
   186 		PROFILE_DEBUG1("CSipAlrMigrCtrl::DetachProfile free resources")
   185 		PROFILE_DEBUG1("CSipAlrMigrCtrl::DetachProfile free resources")