Skip to content

Conversation

@rafaeleyng
Copy link
Contributor

If the flush took long enough, the select in consume could process first the signal originated from close(buffer.dataCh)(inside Close) than it would process the signal originated from close(buffer.closeCh)

…the closeCh received the signal to end the consume loop
@mbenford mbenford merged commit bfb9996 into master Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants