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

fix(pubsub): suppress connection is closing error #2951

Merged
merged 1 commit into from Oct 2, 2020

Conversation

hongalex
Copy link
Member

@hongalex hongalex commented Oct 1, 2020

Fix an issue where calling client.Close() will return a "the client connection
is closing" error on subscriber closing. This previously only happened in
non-live service environments (e.g. using the emulator or fake).

Also fix a typo where publisher and subscriber client close errors were swapped.

Fixes #2950

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 1, 2020
@hongalex hongalex merged commit a38716b into master Oct 2, 2020
@hongalex hongalex deleted the fix-pubsub-close-error branch October 2, 2020 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pubsub: Suppress client is closing errors when using emulator/fake
2 participants