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

core: fix terminated status check in TransportListener #5955

Merged
merged 4 commits into from
Jul 9, 2019

Conversation

creamsoup
Copy link
Contributor

when we queue and execute the runnable in transport terminated, it may not be drained immediately if there's a already drain is running on the other thread.
Adding a boolean to check shutdown is called before terminated.

@creamsoup
Copy link
Contributor Author

internally tracked bug b/136496833

@creamsoup creamsoup merged commit d974bea into grpc:master Jul 9, 2019
@creamsoup creamsoup deleted the isc branch July 9, 2019 23:36
creamsoup added a commit to creamsoup/grpc-java that referenced this pull request Jul 9, 2019
Copy link
Contributor

@zhangkun83 zhangkun83 left a comment

Choose a reason for hiding this comment

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

LGTM

@lock lock bot locked as resolved and limited conversation to collaborators Oct 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants