From 77e64b39bc3f0a4f546b090e4e1c4d2bcd0ca560 Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Wed, 2 Oct 2019 17:10:41 -0700 Subject: [PATCH] Remove unused nulls in disposal --- core/flyout_button.js | 3 --- 1 file changed, 3 deletions(-) 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; }; /**