fix: destroy connection highlight when the connection is disposed (#7830)

This commit is contained in:
Beka Westberg
2024-02-02 14:48:40 -08:00
committed by GitHub
parent 919778eb56
commit 506970ab30

View File

@@ -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);
}
/**