Re: Finalization question
Posted by
Igor Stasenko on
Oct 23, 2009; 6:09am
URL: https://forum.world.st/Finalization-question-tp1300962p1300966.html
2009/10/23 Schwab,Wilhelm K <
[hidden email]>:
> Hello all,
>
> I have started to port some of my code that relies on Dolphin's finalization. The idea is that one sends #beFinalizable to the object requiring finalization. Dolphin sets a flag on the object (in its header??) that the vm later notices.
a rough analogy is something like that:
Object>>beFinalizable
"A shallow copy of the receiver will receive a #finalize message, once
the receiver become garbage"
WeakRegistry default add: self
> _______________________________________________
> Pharo-project mailing list
>
[hidden email]
>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project>
--
Best regards,
Igor Stasenko AKA sig.
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project