[squeak-dev] How to run code when an object is GC-ed
Sean P. DeNigris
sean at clipperadams.com
Sat Oct 30 01:19:33 UTC 2010
I have objects that are proxies for Ruby objects, and I want the ruby side to
be alerted when the proxies are gc-ed so I can remove them. How do I hook
to run the code when the object is garbage collected?
Googled: "squeak garbage collection hook" and "squeak run code when object
is garbage collected", still clueless :)
Thanks.
Sean
--
View this message in context: http://forum.world.st/How-to-run-code-when-an-object-is-GC-ed-tp3019930p3019930.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|