Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bugfix] WriteTo write work channel should never be closed… #425

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

puellanivis
Copy link
Collaborator

An earlier draft of this had the channel close signal a valid EOF, but since, the code has changed so that this closed channel read should never happen. As such, if it does, we should be returning an err != nil not an EOF.

@puellanivis puellanivis changed the title [Bugfix] These channels should never be closed… [Bugfix] WriteTo write work channel should never be closed… Mar 29, 2021
@drakkan drakkan mentioned this pull request Apr 2, 2021
@puellanivis
Copy link
Collaborator Author

Well, this didn’t solve the individual’s issue, it’s also still a bit of a corner-case bug. So, I will merge it, but we won’t push any new version just for this. It should be rarely hit anyways.

@puellanivis puellanivis merged commit bc27e0c into master Apr 13, 2021
@puellanivis puellanivis deleted the bug/write-to-unexpected-channel-closed branch April 13, 2021 09:36
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.

1 participant