M
Mike Fechner
Guest
Assuming there are no other references hanging around to your myClass instances… The DELETE OBJECT oClass will only delete the last instance. But don’t panic. The instance 1 to 99 will be cleaned up by the next iteration of the DO i = 1 TO 100 loop. Everytime you assign a NEW myClass to oClass, the last reference to the previous myClass instance is voided and the ABL garbage collector will trash the orphaned instance. So in short – all your objects will be killed in the order the way instantiated. Von: goo [mailto:bounce-goo@community.progress.com] Gesendet: Montag, 19. Dezember 2016 19:33 An: TU.OE.Development@community.progress.com Betreff: [Technical Users - OE Development] CLASS and Delete object xxxxx Update from Progress Community goo OE116 I wounder how the cleanup is done, or if it is done when doing the following code: If the class has a def temp-table ... etc. def var oClass as class myClass(). do i = 1 to 100: oClass = new myClass(). : : end. delete object oClass. Will the delete fix all of them, or do I have to handle this different? and if so, how? //Geir Otto View online You received this notification because you subscribed to the forum. To stop receiving updates from only this thread, go here . Flag this post as spam/abuse.
Continue reading...
Continue reading...