In my iPhone application, I get three strange warnings in the console at the very beginning of the application, before any code was called at all:
*** __NSAutoreleaseNoPool(): Object 0x84be00 of class NSCFString autoreleased with no pool in place - just leaking
*** __NSAutoreleaseNoPool(): Object 0x84b000 of class NSCFString autoreleased with no pool in place - just leaking
*** __NSAutoreleaseNoPool(): Object 0x849c00 of class NSCFString autoreleased with no pool in place - just leaking
I use MBProgressHUD in several places to show progress indicators, as indicated by some of the other discussions of this issue, as it displays a new thread when the progress indicator is displayed. But the strangest thing is that they seem to rush before the start of my main function ():
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
}
NSAutoreleasePool, , , . , , , - ?