Skip to content

Commit

Permalink
Update throttler.go
Browse files Browse the repository at this point in the history
channel close, notify should close
  • Loading branch information
zhaijian authored Dec 24, 2021
1 parent e98f8bb commit 0f4e7af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flow/throttler.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ func (th *Throttler) bufferize() {
}
close(th.done)
close(th.out)
close(th.notify)
}

// Via streams data through the given flow
Expand Down

0 comments on commit 0f4e7af

Please sign in to comment.