I need to know, before I will assign NULL into a variable, if this is a last reference to the object.
In other words - if I assign
oObj = NULL
if this will release oObj (with running of Destroy) or not (i.e. object has other references to itselves and it will continue work).
If I could have such information, I would like to call some method earlier (to remove all references to other objects inside the object going to release).
In other words - if I assign
oObj = NULL
if this will release oObj (with running of Destroy) or not (i.e. object has other references to itselves and it will continue work).
If I could have such information, I would like to call some method earlier (to remove all references to other objects inside the object going to release).