Skip to content

Commit

Permalink
fix remove
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelvigee committed Apr 21, 2024
1 parent 1b6c911 commit 3f7a459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker2/dag.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (d *Node[T]) RemoveDependency(dep *Node[T]) {
}

if dep.Dependees.Has(d) {
dep.Dependees.Remove(dep)
dep.Dependees.Remove(d)

for _, dep := range dep.Dependencies.TransitiveSet().Slice() {
dep.Dependees.MarkTransitiveInvalid()
Expand Down

0 comments on commit 3f7a459

Please sign in to comment.