Skip to content

Commit

Permalink
More logs
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Sep 27, 2023
1 parent f5e7c0b commit d597bc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consumer/multiplexer/multiplexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ func (m *T) WireUp(output Out, assigned []int32) {
// Stop inputs that are not assigned anymore.
for p, in := range m.inputs {
if !slices.Contains(assigned, p) {
in := in
actor.Spawn(m.actDesc.NewChild(fmt.Sprintf("stop_unassigned.p%d", p)), &wg, func() {
in.Stop()
})
Expand Down

0 comments on commit d597bc2

Please sign in to comment.