Image.Clone(Configuration) should use the passed Configuration's MemoryAllocator #1642
Open
4 tasks done
Milestone
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
DEBUG
andRELEASE
modeDescription
Discovered while thinking about the test in #1641.
image.Clone(Configuration)
will call the following method eventually:ImageSharp/src/ImageSharp/ImageFrame{TPixel}.cs
Lines 128 to 136 in a2703b7
We should use the passed
configuration
's memory allocator instead ofthis.GetConfiguration().MemoryAllocator
. Not a critical user scenario, so triaging to future.PS:
Would have raised a PR by editing the
.cs
right away on GitHub, but my OCD doesn't let me to do it without also adding a test :)The text was updated successfully, but these errors were encountered: