Skip to content

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

Merged
puellanivis merged 1 commit into
masterfrom
bug/write-to-unexpected-channel-closed
Apr 13, 2021
Merged

puellanivis merged 1 commit into
masterfrom
bug/write-to-unexpected-channel-closed

Conversation

@puellanivis

Copy link
Copy Markdown
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
Copy Markdown
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