Fixed review comments.

This commit is contained in:
Beka Westberg
2019-09-30 15:32:17 -07:00
parent afbb2cca1e
commit 229dd69e54

View File

@@ -87,10 +87,10 @@ Blockly.utils.object.inherits(Blockly.RenderedConnection, Blockly.Connection);
* @override
*/
Blockly.RenderedConnection.prototype.dispose = function() {
Blockly.RenderedConnection.superClass_.dispose.call(this);
if (this.inDB_) {
this.db_.removeConnection_(this);
}
Blockly.RenderedConnection.superClass_.dispose.call(this);
};
/**