mirror of
https://github.com/google/blockly.git
synced 2026-03-09 23:00:10 +01:00
Remove unused nulls in disposal
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user