Skip to content

Commit d782d7d

Browse files
authored
release: v10.4.1
Merge pull request #7860 from google/rc/v10.4.1
2 parents 592c541 + 50e22fe commit d782d7d

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

core/block_dragger.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ export class BlockDragger implements IBlockDragger {
382382

383383
blockAnimation.disconnectUiStop();
384384
this.connectionPreviewer.hidePreview();
385-
this.connectionPreviewer.dispose();
386385

387386
const preventMove =
388387
!!this.dragTarget_ &&
@@ -417,6 +416,9 @@ export class BlockDragger implements IBlockDragger {
417416
);
418417
}
419418
}
419+
// Must dispose after `updateBlockAfterMove_` is called to not break the
420+
// dynamic connections plugin.
421+
this.connectionPreviewer.dispose();
420422
this.workspace_.setResizesEnabled(true);
421423

422424
eventUtils.setGroup(false);

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blockly",
3-
"version": "10.4.0",
3+
"version": "10.4.1",
44
"description": "Blockly is a library for building visual programming editors.",
55
"keywords": [
66
"blockly"

0 commit comments

Comments
 (0)