Skip to content

Conversation

@ikkyuland
Copy link
Member

@ikkyuland ikkyuland commented Aug 21, 2025

Title

Hotfix LoadAndResizeImage crashed

Description

LoadAndResizeImage will throw image is disposed since we have invalid using statement. so images in _lazyImage is already disposed.

Fixes #(issue number)
If this PR addresses an existing issue, mention the issue number here.

Type of change

Please select the relevant option by placing an 'x' inside the brackets, like this: [x].

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🏗️ Internal/structural update (non-breaking change that improves code quality, organization, or performance)
  • 📚 This change requires a documentation update
  • 🚀 DevOps build chain modification for release
  • 🤖 DevOps build chain modification for CI

How Has This Been Tested?

Added anyBitmap.GetPixel(0, 0); //should not throw error in unit tests

Checklist:

Please run through the checklist as much as possible and mark the items completed by placing an 'x' inside the brackets, like this: [x].

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have successfully run all unit tests on Windows
  • I have successfully run all unit tests on Linux

Additional Context

Add any other context, screenshots, or information about the pull request here.

@ikkyuland ikkyuland changed the base branch from develop to releases/2025.9 August 21, 2025 08:43
@ikkyuland ikkyuland merged commit 1bdc471 into releases/2025.9 Aug 21, 2025
9 checks passed
@ikkyuland ikkyuland deleted the hotfix-LoadAndResizeImage-image-disposed branch August 21, 2025 08:45
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.

3 participants