Skip to content

Commit

Permalink
Merge pull request #5539 from systeminit/brit/no-autoconnecting-to-self
Browse files Browse the repository at this point in the history
fix(dal): Don't attempt to autoconnect to the component to itself
  • Loading branch information
stack72 authored Feb 24, 2025
2 parents fed5f45 + cfdcac7 commit 638a5ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/dal/src/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2837,6 +2837,10 @@ impl Component {

// loop through all components + output sockets
for component in Self::list(ctx).await? {
// don't interrogate current component!
if component.id() == component_id {
continue;
}
// build a map of component output sockets and values
let output_sockets = component.output_socket_attribute_values(ctx).await?;
for output_socket_av in output_sockets {
Expand Down

0 comments on commit 638a5ad

Please sign in to comment.