Browse Source

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

2
src/ImageSharp/Image.cs

@ -185,7 +185,7 @@ namespace SixLabors.ImageSharp
public Task VisitAsync<TPixel>(Image<TPixel> image)
where TPixel : unmanaged, IPixel<TPixel>
{
return this.encoder.EncodeAsync(image, this.stream);
return this.encoder.EncodeAsync(image, this.stream).ConfigureAwait(false);
}
}
}

Loading…
Cancel
Save