This one slipped under the radar for lots of folks, but if you are using COM objects from within CFML code then it is important. CFMX 6.1 added a new function named ReleaseComObject(), which does exactly what its name suggests. In the past ColdFusion did its own cleanup (eventually) and this caused problems for some developers who sometimes needed to explicitly terminate and release a COM object (often so as to use it again). Using ReleaseComObject() you can explicitly terminate and release COM objects when needed.
Leave a Reply