Browse Source

Removed GC.SuppressFinalize(this) from Image.Dispose() due to it not having a Finalization method

pull/1629/head
Dmitry Pentin 5 years ago
parent
commit
1c45c1a705
  1. 6
      src/ImageSharp/Image.cs

6
src/ImageSharp/Image.cs

@ -78,11 +78,7 @@ namespace SixLabors.ImageSharp
Configuration IConfigurationProvider.Configuration => this.configuration;
/// <inheritdoc />
public void Dispose()
{
this.Dispose(true);
GC.SuppressFinalize(this);
}
public void Dispose() => this.Dispose(true);
/// <summary>
/// Saves the image to the given stream using the given image encoder.

Loading…
Cancel
Save