googleapis / nodejs-bigquery-storage

BigQuery Storage Node.js client
Apache License 2.0
34 stars 17 forks source link

fix: destroy internal grpc conn when closed #439

Closed alvarowolfx closed 7 months ago

alvarowolfx commented 7 months ago

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 🦕