- Timestamp:
- 02/28/10 16:03:40 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/SapphireFrappliance/FRAppliance/SapphireURLLoader.m
r1179 r1197 20 20 21 21 #import "SapphireURLLoader.h" 22 #import "NSFileManager-Extensions.h" 22 23 23 24 #define MAX_WORKERS 10 … … 85 86 while((invoke = [invokeEnum nextObject]) != nil) 86 87 { 88 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 87 89 [invoke setArgument:&loadedObject atIndex:2]; 88 90 [invoke invoke]; 91 [pool drain]; 89 92 } 90 93 [informers release]; … … 403 406 - (void)saveDataAtURL:(NSString *)url toFile:(NSString *)path 404 407 { 408 [[NSFileManager defaultManager] constructPath:[path stringByDeletingLastPathComponent]]; 405 409 [self loadDataURL:url withTarget:self selector:@selector(saveData:toFile:) object:path]; 406 410 }
