Remove unused nulls in disposal

This commit is contained in:
Rachel Fenichel
2019-10-02 17:10:41 -07:00
parent 771d6a119e
commit 77e64b39bc

View File

@@ -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;
};
/**