Browse Source

Update src/ImageSharp/Image.Decode.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
a27eb49a8d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/ImageSharp/Image.Decode.cs

2
src/ImageSharp/Image.Decode.cs

@ -165,7 +165,7 @@ namespace SixLabors.ImageSharp
return (null, null);
}
Image img = await decoder.DecodeAsync(config, stream);
Image img = await decoder.DecodeAsync(config, stream).ConfigureAwait(false);
return new FormattedImage(img, format);
}

Loading…
Cancel
Save