如果主(......)创立了国家安全局,是否有必要这样做。 集合和排出之前?
原文:Does it matter if main( ) creates an NSAutoreleasePool and drains it before exit?
原文:Does it matter if main( ) creates an NSAutoreleasePool and drains it before exit?
Because if main() creates an NSAutoreleasePool, and drains it before the program exits, then even though it can prevent memory leaks, the whole process s memory space is going to be freed up next ...