adium-1.4 2821:fa988de96a94: Don't deal with autorelease pools o...

commits at adium.im commits at adium.im
Thu Nov 26 03:34:28 UTC 2009


details:	http://hg.adium.im/adium-1.4/rev/fa988de96a94
revision:	2821:fa988de96a94
author:		Zachary West <zacw at adium.im>
date:		Wed Nov 25 22:34:07 2009 -0500

Don't deal with autorelease pools on the file level; deal with it in terms of chats. Refs #13362.

diffs (16 lines):

diff -r 37f86ef91f64 -r fa988de96a94 Source/DCMessageContextDisplayPlugin.m
--- a/Source/DCMessageContextDisplayPlugin.m	Wed Nov 25 22:28:47 2009 -0500
+++ b/Source/DCMessageContextDisplayPlugin.m	Wed Nov 25 22:34:07 2009 -0500
@@ -359,12 +359,6 @@
 		if ([foundMessages count] == *linesLeftToFind) {
 			if ([elementStack count]) [elementStack removeAllObjects];
 			[parser abortParsing];
-		} else {
-			//We're still looking for more messages in this file.
-			//Pop the current autorelease pool and start a new one.
-			//This frees the most recent tree of autoreleased AIXMLElements.
-			[parsingAutoreleasePool release];
-			parsingAutoreleasePool = [[NSAutoreleasePool alloc] init];
 		}
 	}
 }




More information about the commits mailing list