3.4 event system holding objects?

Bob Arning arning at charm.net
Sat Feb 8 19:47:16 UTC 2003


On Sat, 8 Feb 2003 14:14:27 -0500 "Bill Schwab" <schwabw at sprynet.com> wrote:
>#(aboutToLeaveWorld aboutToEnterWorld) do:[ :each |
>	( World valueOfProperty: #actionMap ) removeKey:each.
>].
>
>and waiting a while for some gc activity took about 5MB off of my 
>image.  That's getting down to a believable size, though still 
>noticeably bigger than an older 3.2 image that's lurking on this 
>machine; the difference could be the RB and other new goodies.  
>
>There is also at least one more Alice related straggler, and it might 
>interest you.  Is StepMessage something that should be 
>weakened? 

Bill,

Maybe, maybe not. It might be plausible for an object to expect notification from an event even if that event is the only reference to the object. Might be nice to have an option for strong or weak MessagesSends.

To your specific problem: WonderlandCameraMorph does register interest in some events, but it also has code to de-register that interest. The question is why that code is not getting called, so if you can remember or invent a simple sequence that recreates this problem, we may be able to fix it.

Cheers,
Bob



More information about the Squeak-dev mailing list