Re: Is Apple's singleton sample code correct?
Re: Is Apple's singleton sample code correct?
- Subject: Re: Is Apple's singleton sample code correct?
- From: David Gimeno Gost <email@hidden>
- Date: Mon, 28 Nov 2005 19:35:41 +0100
On 28 Nov 2005, at 09:42, Scott Anguish wrote:
once again, it works fine. However, you are responsible for your
class registering for the appropriate termination notification to do
the cleanup.
but even then, apps can die before their time. so apps need to be
able to handle this situation as well.
Please see my replies to mmalcolm crawford and Christian Brunschen for
reasons why I think these are not valid reasons to prevent the
singleton from ever being destroyed.
Regards.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden