Commits

Ivan Vučica committed 635cacd

Fixed the misuse of [pool drain] in FPEventLoop.

Comments (0)

Files changed (1)

 	[self _updateHandlersArray];
 	while(!_shouldTerminate)
 	{
+		NSAutoreleasePool * pool2 = [NSAutoreleasePool new];
 		if([self _checkPendingEvents] || !_isAnimating)
 		{
 			while([self _checkPendingEvents])
 		[self _updateHandlersArray];
 		previousUpdate = currentTime;
 		
-		[pool drain];
+		[pool2 release];
 	}
 	[pool release];
 }