Autorelease pools are thread bound. If you create a stream through performSelectorInBackground, you need to create and destroy the auto-advertisement pool for yourself. So you need startupStuff to look like this:
- (void)startupStuff:(id)sender
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
[pool drain];
}
: , , , ( , iOS) . Apple ():
; , , . , . , .
, . , iPhone, . , ", , ", "... , , , , " - ".