[squeak-dev] The Inbox: Tools-LM.828.mcz

Eliot Miranda eliot.miranda at gmail.com
Tue Aug 14 16:30:08 UTC 2018


Hi Bob,

> On Aug 14, 2018, at 8:46 AM, Bob Arning <arning315 at comcast.net> wrote:
> 
> 
> 
>> On 8/14/18 11:34 AM, Eliot Miranda wrote:
>> Traverse the world looking for submorphs whose models are ObjectExplorers and collect their ObjectExplorerWrappers.  The use of allInstances is indeed wrong.  Look also for Inspectors.  A PointerFinder or Inspector could indeed be the object holding onto something that should be garbage collected, and these UI objects can become disconnected from the scene graph, for example left in some global variable during a debugging session.  But think carefully about the criteria for choosing which PointerFinders and Inspectors are considered excludable; does one include those in different projects?  What about ones that are hidden or partially obscured behind other windows?
> Or even worse, instances which are held off-screen altogether, by undo stacks, e.g. Can't count how many times something didn't go away due to a ref through that path.

Exactly.  Much better example than mine.


More information about the Squeak-dev mailing list