loObject1 = NEWOBJECT("DetailHandler","MyLib") loObject1.oDetail = NEWOBJECT("OneDetail","MyLib") *-- Because we need to refer in code to the detail handler object, we need to create an object reference in a propery: loObject1.oDetail.oDetailHandler = loObject1 * *-- And at a later moment: RELEASE loObject1After releasing the loObject1 object the object is not entirely released because of the object reference. I tried to put code in loObject1.DESTROY like this:
THIS.oDetail.oDetailHandler = NULLBut it turns out the DESTROY is not even fired, for obvious reasons.