i do't think the way could remove the instance, if one of UserDataModel 's
attribute was referenced by other object. to know the attribute was strong
referenced or weak referenced is important.
foodyi
--- On Thu, 12/3/09, valdhor valdhorli...@embarqmail.com wrote:
From: valdhor valdhorli...@embarqmail.com
Subject: [flexcoders] Re: Deleting an Object
To: flexcoders@yahoogroups.com
Date: Thursday, December 3, 2009, 6:05 PM
Just set the object instance to null.
--- In flexcod...@yahoogro ups.com, Wally Kolcz wko...@... wrote:
I have a singleton that stores user data for an application. When the user
logs out I want to delete the instance of the singleton (UserDataModel) .
Can you just delete the whole Object or do you have to set each attribute
(name, username, hospitalID, etc) to null?