Browse Source

Initialize the locker!

pull/2225/head
James Jackson-South 4 years ago
parent
commit
2515d80925
  1. 2
      tests/ImageSharp.Tests/TestFile.cs

2
tests/ImageSharp.Tests/TestFile.cs

@ -34,7 +34,7 @@ namespace SixLabors.ImageSharp.Tests
/// <summary>
/// Used to ensure image loading is threadsafe.
/// </summary>
private readonly object syncLock;
private readonly object syncLock = new();
/// <summary>
/// The image bytes

Loading…
Cancel
Save