> You also may need to create a NSAutoreleasePool before
> the NSApplication line, and free it in the
> broker_term() function.
>
> broker->pool = [[NSAutoreleasePool alloc] init];
>
> broker_term()
> {
> [broker->pool release]
> broker->pool = nil;
> }
>
No, because that may lead to have autoreleased object being really
released at the wrong time. Let the NSAutoreleasePool alone.
Hub
Received on Fri Oct 8 22:46:10 2004
This archive was generated by hypermail 2.1.8 : Fri Oct 08 2004 - 22:46:10 CEST