flipping autorelease pools' release over to drain

This commit is contained in:
Mitchell Livingston 2009-08-04 01:53:51 +00:00
parent 723cabb542
commit 98a9a9edd9
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ BlocklistDownloader * fDownloader = nil;
[[NSNotificationCenter defaultCenter] postNotificationName: @"BlocklistUpdated" object: nil];
[pool release];
[pool drain];
fDownloader = nil;
[self release];

View File

@ -4065,7 +4065,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
[torrent release];
}
[pool release];
[pool drain];
}
- (void) rpcAddTorrentStruct: (NSValue *) torrentStructPtr