Skip to content

Commit

Permalink
fix: destroy connection highlight when the connection is disposed (#7830
Browse files Browse the repository at this point in the history
)
  • Loading branch information
BeksOmega authored Feb 2, 2024
1 parent 919778e commit 506970a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/rendered_connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class RenderedConnection extends Connection {
if (this.trackedState === RenderedConnection.TrackedState.TRACKED) {
this.db.removeConnection(this, this.y);
}
this.sourceBlock_.pathObject.removeConnectionHighlight?.(this);
}

/**
Expand Down

0 comments on commit 506970a

Please sign in to comment.