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

Ignore nil channels in the dispatcher #70

Merged
merged 2 commits into from Jul 21, 2021

Conversation

aarshkshah1992
Copy link
Contributor

If the code directly writes to the channel that the dispatcher function is reading from, we could escape the nil channel check we've put in place in the dispatchResult function.

Copy link
Member

@raulk raulk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably add a small test, though.

@aarshkshah1992 aarshkshah1992 merged commit 7f61dd3 into master Jul 21, 2021
@aarshkshah1992 aarshkshah1992 deleted the feat/ignore-nil-channels branch July 21, 2021 03:14
@aarshkshah1992
Copy link
Contributor Author

Have added a test and merging as CI is green.

@Stebalien
Copy link
Member

Please don't update to commits on random branches. We delete random branches.

@Stebalien
Copy link
Member

Tagged https://github.com/ipld/go-car/releases/tag/v2.0.0-beta2 to revive the commit.

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.

None yet

3 participants