Browse Source

Update src/ImageSharp/Image.FromStream.cs

Co-authored-by: Brian Popow <38701097+brianpopow@users.noreply.github.com>
pull/1574/head
James Jackson-South 6 years ago
committed by GitHub
parent
commit
beeb4d7dfb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/ImageSharp/Image.FromStream.cs

2
src/ImageSharp/Image.FromStream.cs

@ -586,7 +586,7 @@ namespace SixLabors.ImageSharp
public static async Task<Image<TPixel>> LoadAsync<TPixel>(Configuration configuration, Stream stream)
where TPixel : unmanaged, IPixel<TPixel>
{
(Image<TPixel> img, _) = await LoadWithFormatAsync<TPixel>(configuration, stream);
(Image<TPixel> img, _) = await LoadWithFormatAsync<TPixel>(configuration, stream).ConfigureAwait(false);
return img;
}

Loading…
Cancel
Save