Skip to content

Commit

Permalink
manually dispose KeyboardHelpSectionRows, phetsims/scenery-phet#769
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Apr 4, 2023
1 parent 104b115 commit 31df3f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/common/view/MeasurementToolsKeyboardHelpSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ export default class MeasurementToolsKeyboardHelpSection extends KeyboardHelpSec
super( FourierMakingWavesStrings.keyboardHelpDialog.measurementToolsStringProperty, [ normalRow, slowerRow ], options );

this.disposeEmitter.addListener( () => {
normalRow.dispose();
slowerRow.dispose();
shiftPlusArrowsIcon.dispose();
shiftPlusWASDsIcon.dispose();
arrowKeysIcon.dispose();
Expand Down

0 comments on commit 31df3f5

Please sign in to comment.