Re: NSThread/NSImage problem
Re: NSThread/NSImage problem
- Subject: Re: NSThread/NSImage problem
- From: Jerome Laurens <email@hidden>
- Date: Mon, 24 Sep 2001 13:43:34 +0200
- Organization: Universite de Bourgogne - Dijon - France
Nick Morris wrote:
>
>
Hi,
>
>
I am having a problem with NSImage in NSThread.
>
>
The code:
>
>
for (i = 0; i < (arrayCount); i++)
>
{
[...]
>
>
>
thePicture = nil;
>
thePictureData = nil;
>
thePictureData2 = nil;
>
>
[thePicture release];
>
[thePictureData release];
>
[thePictureData2 release];
>
}
I suppose you made a copy/paste mistake while releaseing the objects
AFTER setting them to nil.
JL