No, you don't need to destroy it; CF will do this automatically using a
process known as "garbage collection".

Hal Helms
"Java for CF Programmers" class 
in Atlanta, GA  May 5-9
www.halhelms.com

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Marlon Moyer
Sent: Monday, March 24, 2003 9:25 AM
To: [EMAIL PROTECTED]
Subject: [CFCDev] Destruction of objects


Are there any issues regarding destroying objects before assigning 
variables to new objects say like:

var application.myObj = createObject("component","com.whatever");
application.myObj.doSomething();

application.myObj = createObject("component","com.whatever2");

Does the first instance need to be destroyed first?

Thanks


-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
----------------------------------------------------------
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).

----------------------------------------------------------
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