Object>>#finalize ?

> On 13 Jan 2015, at 15:13, Johan Fabry <jfa...@dcc.uchile.cl> wrote:
> 
> Hi all,
> 
> does anybody here have experience with hooking into the GC mechanism so that 
> an object gets notified when it is collected? I have a setup here with auto 
> generated classes that I would like to remove when their unique instance 
> disappears. So I’d like to let the GC figure out all the complicated tracking 
> and inform me whenever such an object is collected, then I’ll zap the class 
> as well.
> 
> Experience reports, hints and tips are most welcome!
> 
> ---> Save our in-boxes! http://emailcharter.org <---
> 
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile
> 
> 


Reply via email to