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

Resolve dangling future in ResponseCandidateStream #1570

Merged
merged 1 commit into from
Dec 12, 2018

Conversation

carver
Copy link
Contributor

@carver carver commented Dec 10, 2018

What was wrong?

Occasionally, during shutdown, the ResponseCandidateStream would set an exception on the pending request, only to emit an asyncio "never gathered" exception, due to random service shutdown ordering.

How was it fixed?

Just before the RCS is garbage collected, cancel any futures that were uncollected.

Cute Animal Picture

put a cute animal picture link inside the parentheses

@carver carver merged commit bc66da9 into ethereum:master Dec 12, 2018
@carver carver deleted the dangling-request-future branch December 12, 2018 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