Skip to content

core: fix terminated status check in TransportListener#5955

Merged
creamsoup merged 4 commits intogrpc:masterfrom
creamsoup:isc
Jul 9, 2019
Merged

core: fix terminated status check in TransportListener#5955
creamsoup merged 4 commits intogrpc:masterfrom
creamsoup:isc

Conversation

@creamsoup
Copy link
Copy Markdown
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 creamsoup requested review from ejona86 and zhangkun83 July 8, 2019 22:03
@creamsoup
Copy link
Copy Markdown
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
Copy Markdown
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.

3 participants