Permalink
Browse files

Stop resetting list of connections when errors occur

Change-Id: I0377e3c1958885587d1a2a6336ec9c9b30e7c7cb
  • Loading branch information...
ewpatton authored and jisqyv committed Dec 6, 2018
1 parent f6f0160 commit ac7c0e4c74009b064e617ab2387caa43fb60f9fa
Showing with 0 additions and 7 deletions.
  1. +0 −7 appinventor/blocklyeditor/src/workspace_svg.js
@@ -249,13 +249,6 @@ Blockly.WorkspaceSvg.prototype.isDrawerShowing = function() {
Blockly.WorkspaceSvg.prototype.render = function(blocks) {
this.rendered = true;
this.bulkRendering = true;
// In bulk rendering mode, the database accepts all new connections to be
// sorted later. If we don't clear this, then we can end up with multiple
// entries in the DB for the same connection. This isn't necessarily bad,
// but it may decrease performance.
this.connectionDBList.forEach(function (db) {
db.length = 0; // clear the databases
});
Blockly.Field.startCache();
try {
if (Blockly.Instrument.isOn) {

0 comments on commit ac7c0e4

Please sign in to comment.