Skip to content

conn: delete from pending on close #82

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AnshulMalik
Copy link

If we close the connection while a response is yet to be processed, we close call.done and then try to send on it, leading to panic.
Making sure if we have closed the call, we also remove it from pending.

@keegancsmith
Copy link
Member

Any chance you can write a test that demonstrates the panic?

@AnshulMalik
Copy link
Author

I would love to, but it's a little complicated. And I am occupied with work.

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