mirror of
https://github.com/google/blockly.git
synced 2026-06-16 16:15:14 +02:00
Moved disposed into finally block.
This commit is contained in:
+1
-2
@@ -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