GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-python-connector

Add a `__del__` destructor to Connector

未关闭
#1,011 0 条评论 1 个 reaction 已指派 1 人 已指派给 @kgala2 在 GitHub 查看
priority: p2 type: feature request
主要语言
Python
星标
344
派生
89
平均合并
5 小时 33 分钟
30 天内合并 PR
2

描述

Add `__del__` to `Connector` to close background resources upon garbage collection.

Reminder to test that destructor does not cause timeouts as seen in #1000

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。