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: destroy internal grpc conn when closed #439

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

alvarowolfx
Copy link
Contributor

In cases where the connection was not used and ended, some errors can be raised and are not handled due to the internal event listeners being removed. This PR add code to destroy the internal grpc connection to ensure no errors are raised after it's closed.

Fixes #348 🦕

@alvarowolfx alvarowolfx requested a review from a team as a code owner April 11, 2024 15:52
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: bigquerystorage Issues related to the googleapis/nodejs-bigquery-storage API. labels Apr 11, 2024
@alvarowolfx alvarowolfx added the owlbot:run Add this label to trigger the Owlbot post processor. label Apr 11, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Apr 11, 2024
Copy link
Contributor

@shollyman shollyman left a comment

Choose a reason for hiding this comment

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

I name thee....DESTROYER. Thanks for tracking this one down.

@alvarowolfx alvarowolfx merged commit e7731bf into googleapis:main Apr 15, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquerystorage Issues related to the googleapis/nodejs-bigquery-storage API. size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Close stream after calling appendRows error
3 participants