Moved disposed into finally block.

This commit is contained in:
Beka Westberg
2019-08-07 07:11:17 -07:00
parent 56f424d8ed
commit 6f03634730

View File

@@ -321,9 +321,8 @@ Blockly.Block.prototype.dispose = function(healStack) {
}
} finally {
Blockly.Events.enable();
this.disposed = true;
}
this.disposed = true;
};
/**