Use the new more efficient .NET 9 Lock type (#18015)
This commit is contained in:
@@ -28,7 +28,7 @@ public class LoadTestController : Controller
|
||||
</html>";
|
||||
|
||||
private static readonly Random s_random = new();
|
||||
private static readonly object s_locko = new();
|
||||
private static readonly Lock s_locko = new();
|
||||
|
||||
private static volatile int s_containerId = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user