Skip to content

core: Improve language for leaked channel error#10746

Merged
ejona86 merged 1 commit intogrpc:masterfrom
ejona86:channel-leak-msg
Dec 13, 2023
Merged

core: Improve language for leaked channel error#10746
ejona86 merged 1 commit intogrpc:masterfrom
ejona86:channel-leak-msg

Conversation

@ejona86
Copy link
Copy Markdown
Member

@ejona86 ejona86 commented Dec 12, 2023

Originally you had to confirm that awaitTermination() returned true, but that was annoying and useless, especially after calling shutdownNow(). The behavior was changed in ce2ae1f because the awaitTermination() detection logic could prevent the channel from getting garbage collected.

Fixes #10732

CC @Jasper-M

Originally you had to confirm that awaitTermination() returned true, but
that was annoying and useless, especially after calling shutdownNow().
The behavior was changed in ce2ae1f because the awaitTermination()
detection logic could prevent the channel from getting garbage
collected.

Fixes grpc#10732
@ejona86 ejona86 requested a review from larry-safran December 12, 2023 22:53
@ejona86 ejona86 merged commit 201893f into grpc:master Dec 13, 2023
@ejona86 ejona86 deleted the channel-leak-msg branch December 13, 2023 00:25
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 12, 2024
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.

when to shutdown channel?

2 participants