fix: close write object stream always (#1661) · googleapis/python-storage@4a609a4 · GitHub
Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 4a609a4

Browse files
authored
fix: close write object stream always (#1661)
fix: close write object stream always. otherwise Task will remain for long time until GC kills it and it'll throw this `"Task was destroyed but it is pending!"`
1 parent de2c8e9 commit 4a609a4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

google/cloud/storage/_experimental/asyncio/async_appendable_object_writer.py

Lines changed: 2 additions & 1 deletion

tests/unit/asyncio/test_async_appendable_object_writer.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)