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

Ensure all StorageWriteStream disposables are disposed #47783

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rlrossiter
Copy link
Contributor

@rlrossiter rlrossiter commented Jan 10, 2025

Because the other calls within Dispose can error out, there needs to be a try around them so even if they fail, the _accumulatedDisposables can still be disposed after they are complete to prevent resource leakage.

Fixes #47781

Because the other calls within Dispose can error out, there needs to be
a try around them so even if they fail, the _accumulatedDisposables can
still be disposed after they are complete to prevent resource leakage.
@github-actions github-actions bot added Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization. Storage Storage Service (Queues, Blobs, Files) labels Jan 10, 2025
Copy link

Thank you for your contribution @rlrossiter! We will review the pull request and get back to you soon.

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization. Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Memory leak in StorageWriteStream.Dispose
2 participants