Revision: 3612 http://skim-app.svn.sourceforge.net/skim-app/?rev=3612&view=rev Author: hofman Date: 2008-04-03 16:32:01 -0700 (Thu, 03 Apr 2008)
Log Message: ----------- Don't use separate autorelease pool in run loop for agent. Modified Paths: -------------- trunk/skimnotes.m Modified: trunk/skimnotes.m =================================================================== --- trunk/skimnotes.m 2008-04-03 22:06:38 UTC (rev 3611) +++ trunk/skimnotes.m 2008-04-03 23:32:01 UTC (rev 3612) @@ -78,14 +78,12 @@ NSRunLoop *rl = [NSRunLoop currentRunLoop]; BOOL didRun; NSDate *distantFuture = [NSDate distantFuture]; - NSAutoreleasePool *runpool = [NSAutoreleasePool new]; do { - [runpool release]; - runpool = [NSAutoreleasePool new]; + [pool release]; + pool = [NSAutoreleasePool new]; didRun = [rl runMode:NSDefaultRunLoopMode beforeDate:distantFuture]; } while (listener && didRun); - [runpool release]; [listener release]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit