Replacing NSAutoreleasePool with @autoreleasepool

This commit is contained in:
Mattt Thompson 2012-08-21 16:06:39 -07:00
parent 84abd71625
commit c0ef5c1068

View file

@ -145,9 +145,9 @@ static inline BOOL AFStateTransitionIsValid(AFOperationState fromState, AFOperat
+ (void)networkRequestThreadEntryPoint:(id)__unused object {
do {
NSAutoreleasePool *runLoopPool = [[NSAutoreleasePool alloc] init];
[[NSRunLoop currentRunLoop] run];
[runLoopPool drain];
@autoreleasepool {
[[NSRunLoop currentRunLoop] run];
}
} while (YES);
}