• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSThread/NSImage problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSThread/NSImage problem (From: Nick Morris <email@hidden>)

  • Prev by Date: Mutable NSColor?
  • Next by Date: Re: Is there a decent Obj-C for Windows?
  • Previous by thread: NSThread/NSImage problem
  • Next by thread: OverLoad Constructor in multiple nibs (java-cocoa)
  • Index(es):
    • Date
    • Thread