LOCAL loBizObj loBizObj = CreateObject("MyBizObj") * As soon as loBizObj goes out of scope, the object reference * will be released. No special code should be necessary to * clean things up.However, if you're saving an object reference in a object property, you need to release the reference when this object is destroyed.
Init() method (or where it's created): This.oBizObj = CreateObject("MyBizObj") Destroy() method: This.oBizObj = .NULL.That should cause the bizobj Destroy() method to fire, which in turn will call it's Cleanup() method and release any used datasessions and/or child business objects.