diff --git a/src/ImageSharp/Image/ImageBase{TColor}.cs b/src/ImageSharp/Image/ImageBase{TColor}.cs index c58f9412d0..02bab249be 100644 --- a/src/ImageSharp/Image/ImageBase{TColor}.cs +++ b/src/ImageSharp/Image/ImageBase{TColor}.cs @@ -15,14 +15,9 @@ namespace ImageSharp /// /// The pixel format. [DebuggerDisplay("Image: {Width}x{Height}")] - public abstract class ImageBase : IImageBase // IImageBase implements IDisposable + public abstract class ImageBase : IImageBase where TColor : struct, IPackedPixel, IEquatable { - /// - /// The used to pool data. TODO: Choose sensible default size and count - /// - private static readonly ArrayPool ArrayPool = ArrayPool.Create(int.MaxValue, 50); - /// /// The image pixels /// @@ -94,14 +89,6 @@ namespace ImageSharp } } - /// - /// Finalizes an instance of the class. - /// - ~ImageBase() - { - this.Dispose(false); - } - /// public int MaxWidth { get; set; } = int.MaxValue;