Skip to content

Commit

Permalink
🐛 dom anchors should remove
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzLuke96 committed May 31, 2024
1 parent 6a9d8e0 commit b6fbd88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/core/src/LGraphNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ export default class LGraphNode {
this.widgets?.forEach((w) => {
w.onNodeRemoved?.(this);
});
Object.values(this.dom_anchors).forEach((dom) => {
dom?.remove();
});
});
}

Expand Down

0 comments on commit b6fbd88

Please sign in to comment.