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

ensure dagreaders are cleaned up after 'cat' command finishes #722

Merged
merged 1 commit into from
Feb 2, 2015

Conversation

whyrusleeping
Copy link
Member

I beleive i found a goroutine leak bug, if a cat were to be killed before all the data was read, it wouldnt release the underlying processes. This makes sure to pass the correct context into the DagReader

@whyrusleeping whyrusleeping added the status/in-progress In progress label Feb 2, 2015
@whyrusleeping
Copy link
Member Author

There appears to be a test failing... really not sure why.

@jbenet jbenet modified the milestone: α Feb 2, 2015
@jbenet
Copy link
Member

jbenet commented Feb 2, 2015

Good catch.

jbenet added a commit that referenced this pull request Feb 2, 2015
ensure dagreaders are cleaned up after 'cat' command finishes
@jbenet jbenet merged commit 4b13b05 into master Feb 2, 2015
@jbenet jbenet removed the status/in-progress In progress label Feb 2, 2015
@jbenet jbenet deleted the fix/readerclose branch February 2, 2015 09:11
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.

2 participants