Just set the object instance to null.

--- In [email protected], "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?
>


Reply via email to