[progress Communities] [progress Openedge Abl] Forum Post: Re: Class And Delete Object Xxxxx

  • Thread starter Thread starter David Abdala
  • Start date Start date
Status
Not open for further replies.
D

David Abdala

Guest
That is like recommending to leave your house door wide open, for the garbage collector guy to pick up the garbage for you. It may sound like a "comfortable" idea, but I will never suggest that. It's truly very optimistic. You will never really know how many references there are to an object, unless you fully control the class implementation, which is never true for most systems. References to an object are not only the variables where you initially store the object, but also any reference another object may have to it. Can you be sure about what happens to an object that PUBLISH and it's explicit reference is lost? I don't, I won't bet on it, it may change at any moment, as none of us controls garbage collector implementation.

Continue reading...
 
Status
Not open for further replies.
Back
Top