realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileCacheItem.cpp
branchRCL_3
changeset 49 0a1ad22c7bdc
parent 46 346e49b9ce14
child 56 2c7192069824
--- a/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileCacheItem.cpp	Tue Sep 14 22:01:18 2010 +0300
+++ b/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileCacheItem.cpp	Wed Sep 15 12:36:02 2010 +0300
@@ -366,6 +366,7 @@
 	if (index != KErrNotFound)
 		{
 		iObservers.Remove(index);
+		iObservers.Compress();
 		}
 
 	RemoveFromPendingObservers(aObserver);
@@ -402,6 +403,7 @@
 	if (index != KErrNotFound)
 		{
 		iUsers.Remove(index);
+		iUsers.Compress();
 		CheckProfileEnabledState();
 		}
 	}
@@ -1256,6 +1258,7 @@
 	if (index != KErrNotFound)
 		{
 		iObserversWaitedForPermission.Remove(index);
+		iObserversWaitedForPermission.Compress();
 		}
 	}