diff --git a/core/flyout_button.js b/core/flyout_button.js index 47d8a973e..e1263d619 100644 --- a/core/flyout_button.js +++ b/core/flyout_button.js @@ -234,13 +234,10 @@ Blockly.FlyoutButton.prototype.dispose = function() { } if (this.svgGroup_) { Blockly.utils.dom.removeNode(this.svgGroup_); - this.svgGroup_ = null; } if (this.svgText_) { this.workspace_.getThemeManager().unsubscribe(this.svgText_); } - this.workspace_ = null; - this.targetWorkspace_ = null; }; /**