On Tuesday, Aug 12, 2003, at 17:14 US/Pacific, Dawson, Michael wrote:
In my Init() method, I have two structures created in the "Camden" scope such as:
<cfset Instance = StructNew()>
<cfset Objects = StructNew()>
...
Would it be enough to just delete the Objects struct at then end of my Init() method? I really won't need those instances after that?

Simply setting the variables to new values will cause the old values to be garbage collected:


<cfset Objects = 0>

(this is somewhat similar to the Java practice of settings objects to null when you are done with them).

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to