pharo icon indicating copy to clipboard operation
pharo copied to clipboard

Playground still keeps reference to bound objects after removing bindings

Open Rinzwind opened this issue 1 year ago • 0 comments

Scenario:

  • Open a new playground and do object := MockObject new
  • Open the bindings for the playground, press the button to remove them, then close the bindings window
  • Open another new playground and inspect Smalltalk garbageCollect. MockObject allInstances size
  • Close the first playground and inspect the snippet in the other one again

At the last step the result is 0, but at the step before the result is 1, implying the playground unexpectedly still has a reference to the object despite the bindings having been removed.

Tested using: Pharo 13 build 262.

Rinzwind avatar Sep 28 '24 10:09 Rinzwind