Memory leaking issue iPhone
Anyone have a idea about solve memory leak issues
i have found one memory related issue NSAutoreleaseNoPool(): Object 0x3588aea0 of class NSCFString autoreleased with no pool in place - just leaking
can anyone开发者_StackOverflow中文版 have a idea about how can i solve..
Thnak you
You're probably branched off a thread somewhere. Whatever method call you and using in a different thread, put
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
At the beginning, and
[pool release];
At the end.
This message usually occurs when you run a secondary thread without creating NSAutoreleasePool for it. On iPhone each thread requires its own NSAutoreleasePool
object to handle autoreleased objects.
精彩评论