Just in case, disable the memory optimization in which we removed the proxylistobject for items in collapsed groups. This should be reenabled after adium 1.4 is released, for further testing v1.4
authorEvan Schoenberg
Sat, 30 Oct 2010 20:10:03 -0500
changeset 318563c41dfda8f3
parent 3184 64fa060cf86b
child 3186 6d98673b86e6
Just in case, disable the memory optimization in which we removed the proxylistobject for items in collapsed groups. This should be reenabled after adium 1.4 is released, for further testing
Frameworks/Adium Framework/Source/AIListGroup.m
     1.1 --- a/Frameworks/Adium Framework/Source/AIListGroup.m	Sat Oct 30 20:09:29 2010 -0500
     1.2 +++ b/Frameworks/Adium Framework/Source/AIListGroup.m	Sat Oct 30 20:10:03 2010 -0500
     1.3 @@ -117,7 +117,11 @@
     1.4  	
     1.5  	for (AIListObject *obj in oldVisibleObjects) {
     1.6  		/* For each object which was previously visible but now is not, it's cache clearing time. */
     1.7 -		[obj removeProxyObject:[AIProxyListObject existingProxyListObjectForListObject:obj inListObject:self]];
     1.8 +
     1.9 +		/* Should be able to remove the proxy object here, but it seemed to cause a crash previously (before fixes
    1.10 +		 * made to the contactObserverManager. Reenable after 1.4.
    1.11 +		 */
    1.12 +		//[obj removeProxyObject:[AIProxyListObject existingProxyListObjectForListObject:obj inListObject:self]];
    1.13  		[AIUserIcons flushCacheForObject:obj];
    1.14  	}
    1.15  
    1.16 @@ -156,7 +160,10 @@
    1.17  			modifiedProperties = [NSSet setWithObjects:@"VisibleObjectCount", nil];
    1.18  			
    1.19  			if (!shouldBeVisible) {
    1.20 -				[inObject removeProxyObject:[AIProxyListObject existingProxyListObjectForListObject:inObject inListObject:self]];
    1.21 +				/* Should be able to remove the proxy object here, but it seemed to cause a crash previously (before fixes
    1.22 +				 * made to the contactObserverManager. Reenable after 1.4.
    1.23 +				 */
    1.24 +				//[inObject removeProxyObject:[AIProxyListObject existingProxyListObjectForListObject:inObject inListObject:self]];
    1.25  				[AIUserIcons flushCacheForObject:inObject];
    1.26  			}
    1.27  		}