Re: Garbage collection problem
Re: Garbage collection problem
- Subject: Re: Garbage collection problem
- From: Jonathon Mah <email@hidden>
- Date: Wed, 9 Jan 2008 22:27:27 +1030
Hi,
On 2008-01-09, at 21:15, Dent John wrote:
For example, in a classes init method, I get it to NSLog the self
pointer. Then, after some time, I see errors relating to the class.
Are you storing a reference to that instance in a "strong" location,
such as a global variable? Otherwise the garbage collector has no idea
that it might be used later on.
Jonathon Mah
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden