Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

fix: destroy internal grpc conn when closed#439

Merged
alvarowolfx merged 1 commit intogoogleapis:mainfrom
alvarowolfx:fix-destroy-grpc-conn
Apr 15, 2024
Merged

fix: destroy internal grpc conn when closed#439
alvarowolfx merged 1 commit intogoogleapis:mainfrom
alvarowolfx:fix-destroy-grpc-conn

Conversation

@alvarowolfx
Copy link
Copy Markdown
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 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
Copy Markdown
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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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