Re: Object Allocations
Re: Object Allocations
- Subject: Re: Object Allocations
- From: Ondra Cada <email@hidden>
- Date: Mon, 17 Sep 2001 19:18:44 +0200
Rosyna,
>
>>>>> Rosyna (R) wrote at Mon, 17 Sep 2001 07:47:08 -0700:
R> -(void) thread:(id)anObject
If you launch this thread always with ...withObject:nil, you can save the
effort and use somewhat more appropriate "-(void)thread".
R> {
R> NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
R> // much more
R> [pool release];
R> }
Then the problem would be elsewhere. This should catch all autoreleases
inside "much more" (always did for me, at the very least).
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc