mirror of
https://github.com/google/blockly.git
synced 2026-01-09 01:50:11 +01:00
Moved disposed into finally block.
This commit is contained in:
@@ -321,9 +321,8 @@ Blockly.Block.prototype.dispose = function(healStack) {
|
||||
}
|
||||
} finally {
|
||||
Blockly.Events.enable();
|
||||
this.disposed = true;
|
||||
}
|
||||
|
||||
this.disposed = true;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user