phetsims / scenery-phet

Reusable components based on Scenery that are specific to PhET simulations.
MIT License
8 stars 6 forks source link

NumberPicker memory leak #851

Closed pixelzoom closed 5 months ago

pixelzoom commented 6 months ago

Related to https://github.com/phetsims/graphing-lines/issues/153.

NumberPicker has a memory leak. It needs to dispose this.incrementArrow and this.decrementArrow. They are Paths that may be linked to a ProfileColorProperty.

pixelzoom commented 5 months ago

Cherry picked to graphing-lines and graphing-slope-intercept for https://github.com/phetsims/graphing-lines/issues/153.

Closing.