Merge pull request #3200 from rachel-fenichel/cp_3199

Version of #3199 for release
This commit is contained in:
Rachel Fenichel
2019-10-08 16:28:37 -07:00
committed by GitHub

View File

@@ -84,10 +84,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);
};
/**