diff --git a/core/rendered_connection.js b/core/rendered_connection.js index a29ea967d..55ac387ad 100644 --- a/core/rendered_connection.js +++ b/core/rendered_connection.js @@ -80,10 +80,10 @@ Blockly.utils.object.inherits(Blockly.RenderedConnection, Blockly.Connection); * @package */ Blockly.RenderedConnection.prototype.dispose = function() { + Blockly.RenderedConnection.superClass_.dispose.call(this); if (this.tracked_) { this.db_.removeConnection(this, this.y_); } - Blockly.RenderedConnection.superClass_.dispose.call(this); }; /**