Skip to content

Conversation

@1d0n7kn0w
Copy link
Contributor

  • Replaced TryCopyToMemoryStreamAsync methods with direct response stream returns in AliyunBlobProvider, AwsBlobProvider, AzureBlobProvider, and FileSystemBlobProvider.
  • Used using to properly dispose of Image objects in ImageSharpImageCompressorContributor and ImageSharpImageResizerContributor.
  • Replaced Dispose calls with DisposeAsync for asynchronous resource management in ImageSharpImageCompressorContributor and ImageSharpImageResizerContributor.
  • Simplified image resizing code in SkiaSharpImageResizerContributor with nested using statements.

Description

Resolves #xxxx (write the related issue number if available)

TODO: Describe what this PR has changed, add screenshot or animated GIF if available, write if it is a breaking change, and how to fix the breaking changes for existing applications if so.

Checklist

  • I fully tested it as developer / designer and created unit / integration tests
  • I documented it (or no need to document or I will create a separate documentation issue)

How to test it?

Please describe how this can be tested by the test engineers if it is not already explicit - or remove this section if no need to description.

- Replaced TryCopyToMemoryStreamAsync methods with direct response stream returns in AliyunBlobProvider, AwsBlobProvider, AzureBlobProvider, and FileSystemBlobProvider.
- Used using to properly dispose of Image objects in ImageSharpImageCompressorContributor and ImageSharpImageResizerContributor.
- Replaced Dispose calls with DisposeAsync for asynchronous resource management in ImageSharpImageCompressorContributor and ImageSharpImageResizerContributor.
- Simplified image resizing code in SkiaSharpImageResizerContributor with nested using statements.
@1d0n7kn0w
Copy link
Contributor Author

Hi @maliming, could you please take a look at this PR when you have some time?

@maliming
Copy link
Member

ok

@maliming maliming added this to the 9.3-preview milestone Jan 13, 2025
@maliming maliming self-requested a review January 13, 2025 08:48
@maliming maliming merged commit 1b1b086 into abpframework:dev Apr 22, 2025
2 checks passed
@maliming
Copy link
Member

Thanks @1d0n7kn0w

@1d0n7kn0w 1d0n7kn0w deleted the stream-and-resource-management branch April 22, 2025 15:26
@colinin colinin mentioned this pull request Oct 15, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants