Browse Source

Update src/ImageSharp/Image.Decode.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
d1a14e50e4
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

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

Loading…
Cancel
Save