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

gc: cancel context #6281

Merged
merged 1 commit into from
Apr 30, 2019
Merged

gc: cancel context #6281

merged 1 commit into from
Apr 30, 2019

Conversation

Stebalien
Copy link
Member

We were canceling the context in GarbageCollect but some functions call GC directly. Move the context cancelation down to where we actually need it.

I'm not sure where we failed to cancel the context but I'm hoping ipfs/go-ipfs-cmds#163 will help with that.

@ghost ghost assigned Stebalien Apr 30, 2019
@ghost ghost added the status/in-progress In progress label Apr 30, 2019
We were canceling the context in `GarbageCollect` but some functions call `GC`
directly. Move the context cancelation down to where we actually _need_ it.

fixes #6279

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
@Stebalien Stebalien merged commit 6474452 into master Apr 30, 2019
@Stebalien Stebalien deleted the fix/6279 branch April 30, 2019 19:36
@ghost ghost removed the status/in-progress In progress label Apr 30, 2019
@Stebalien Stebalien restored the fix/6279 branch May 30, 2019 22: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.

2 participants