Browse Source

Update src/ImageSharp/Image.FromStream.cs

Co-authored-by: Brian Popow <38701097+brianpopow@users.noreply.github.com>
pull/1196/head
James Jackson-South 6 years ago
committed by GitHub
parent
commit
2fc305897a
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

@ -330,7 +330,7 @@ namespace SixLabors.ImageSharp
/// <returns>A new <see cref="Image"/>.</returns>>
public static async Task<Image> LoadAsync(Configuration configuration, Stream stream)
{
var fmt = await LoadWithFormatAsync(configuration, stream);
var fmt = await LoadWithFormatAsync(configuration, stream).ConfigureAwait(false);
return fmt.Image;
}

Loading…
Cancel
Save