From 2fc305897a18cf9dbc12956067f81d41fc5fc8f9 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Sun, 17 May 2020 11:20:26 +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 713270525..5be263bf6 100644 --- a/src/ImageSharp/Image.FromStream.cs +++ b/src/ImageSharp/Image.FromStream.cs @@ -330,7 +330,7 @@ namespace SixLabors.ImageSharp /// A new .> public static async Task LoadAsync(Configuration configuration, Stream stream) { - var fmt = await LoadWithFormatAsync(configuration, stream); + var fmt = await LoadWithFormatAsync(configuration, stream).ConfigureAwait(false); return fmt.Image; }