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
740d1332a4
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

@ -129,7 +129,7 @@ namespace SixLabors.ImageSharp
/// </returns>
public static async Task<IImageInfo> IdentifyAsync(Configuration configuration, Stream stream)
{
FormattedImageInfo res = await IdentifyWithFormatAsync(configuration, stream);
FormattedImageInfo res = await IdentifyWithFormatAsync(configuration, stream).ConfigureAwait(false);
return res.ImageInfo;
}

Loading…
Cancel
Save