[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: can we rely on when garbage collection fires?

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

dbeavon

Guest
It sounds like you are saying that WidgetHandle's AutoDestroy isn't the same as deleting the procedure with "DELETE PROCEDURE". Is that right? I read the docs and it says DELETE OBJECT is a synonym for DELETE PROCEDURE, when the handle points to a persistent procedure. Here is the destructor code of the WidgetHandle. destructor public WidgetHandle(): if AutoDestroy and valid-object(this-object:Value ) then delete object this-object:Value no-error. end destructor. Personally I'm a big fan of trimming inactive ABL sessions in PASOE every hour. It seems like there are better things to do in life than play the role of a garbage collector. At least with our regular OO classes we don't have to worry about these things.

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