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)
Cheers,
Henry
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project