[Pharo-project] Object >> toFinalizeSend:to:with:

Stéphane Ducasse stephane.ducasse at inria.fr
Fri Feb 19 05:34:24 EST 2010


On Feb 19, 2010, at 10:33 AM, Henrik Johansen wrote:

> The two uses I've seen of this method
> (RequiredSelectors>>registerLifelongInterestOf:inAll: in Core, and
> AXWeakSubscription in AXAnnouncements on SqueakSource) have used this as
> a poor mans replacement for ephemerons.
> The problem is it does not work the way these senders expect (ie:
> registering an action for each resource to be taken when the receiver is
> finalized), but only executes the last action registered for an object.
> 
> Would it be an idea to change the implementation to conform to the
> expectations of the senders, rather than considering the uses as bugs,
> seeing as how that seems to be the common usage? (And a quite more
> useful one in the absence of real ephemerons, if you ask me)

Changing for better :)

BTW we should remove the old and not used algorithm left from the browser
supporting traits required methods.
I hope that when adrian is settle down he will give that code a kick. :)

Stef




More information about the Pharo-dev mailing list