Skip to content

Commit

Permalink
fix: slider field dispose (#1299)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-fenichel authored Sep 21, 2022
1 parent ec5a0ef commit c05edf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/field-slider/src/field_slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export class FieldSlider extends Blockly.FieldNumber {
for (const event of this.boundEvents_) {
Blockly.unbindEvent_(event);
}
this.boundEvents_.length = 0;
this.sliderInput_ = null;
}

Expand Down

0 comments on commit c05edf9

Please sign in to comment.