[Adium-commits] adium 1951:4a29269283b7: Reasonably certain the autorelease pool...
adium-commits at adiumx.com
adium-commits at adiumx.com
Thu Apr 23 11:04:04 UTC 2009
details: http://hg.adiumx.com/adium/rev/4a29269283b7
revision: 1951:4a29269283b7
author: David Smith <catfish.man at gmail.com>
date: Thu Apr 23 04:03:50 2009 -0700
Reasonably certain the autorelease pool here was in response to the bug fixed by inserting fake results into the runloop
diffstat:
Source/AIContactIdlePlugin.m | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diffs (26 lines):
diff -r c6a7b9e10e41 -r 4a29269283b7 Source/AIContactIdlePlugin.m
--- a/Source/AIContactIdlePlugin.m Wed Apr 22 19:49:27 2009 -0700
+++ b/Source/AIContactIdlePlugin.m Thu Apr 23 04:03:50 2009 -0700
@@ -121,19 +121,15 @@
*/
- (void)updateIdleObjectsTimer:(NSTimer *)inTimer
{
- AIListObject *object;
-
//There's actually no reason to re-sort in response to these status changes, but there is no way for us to
//let the Adium core know that. The best we can do is delay updates so only a single sort occurs
//of course, smart sorting controllers should be watching IdleSince, not Idle, since that's the important bit
[[AIContactObserverManager sharedManager] delayListObjectNotifications];
//Update everyone's idle time
- for (object in idleObjectArray) {
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- [self setIdleForObject:object silent:YES];
- [pool release];
- }
+ for (AIListObject *object in idleObjectArray) {
+ [self setIdleForObject:object silent:YES];
+ }
[[AIContactObserverManager sharedManager] endListObjectNotificationsDelay];
}
More information about the commits
mailing list