Skip to content

Commit

Permalink
close the info buffer channel on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
jherbage-splunk committed Nov 24, 2023
1 parent 82902f8 commit 0ed7e0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions signalflow/computation.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ func (c *Computation) StopWithReason(ctx context.Context, reason string) error {
func (c *Computation) shutdown() {
close(c.dataChBuffer)
close(c.expirationChBuffer)
close(c.infoChBuffer)
}

var ErrMetadataTimeout = errors.New("metadata value did not come in time")
Expand Down

0 comments on commit 0ed7e0e

Please sign in to comment.