From beeb4d7dfb3269e1712d1ac3e1a3623f65be91a9 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Sun, 17 May 2020 11:20:51 +0100 Subject: [PATCH] Update src/ImageSharp/Image.FromStream.cs Co-authored-by: Brian Popow <38701097+brianpopow@users.noreply.github.com> --- src/ImageSharp/Image.FromStream.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImageSharp/Image.FromStream.cs b/src/ImageSharp/Image.FromStream.cs index bb6b5b1e8d..f5a181da34 100644 --- a/src/ImageSharp/Image.FromStream.cs +++ b/src/ImageSharp/Image.FromStream.cs @@ -586,7 +586,7 @@ namespace SixLabors.ImageSharp public static async Task> LoadAsync(Configuration configuration, Stream stream) where TPixel : unmanaged, IPixel { - (Image img, _) = await LoadWithFormatAsync(configuration, stream); + (Image img, _) = await LoadWithFormatAsync(configuration, stream).ConfigureAwait(false); return img; }