Use the new more efficient .NET 9 Lock type (#18015)

This commit is contained in:
Henrik
2025-01-20 11:41:13 +01:00
committed by GitHub
parent 87916eb9cf
commit ed08923b46
32 changed files with 37 additions and 37 deletions

View File

@@ -27,7 +27,7 @@ namespace Umbraco.Cms.Tests.Integration.Testing;
[NonParallelizable]
public abstract class UmbracoIntegrationTestBase
{
private static readonly object s_dbLocker = new();
private static readonly Lock s_dbLocker = new();
private static ITestDatabase? s_dbInstance;
private static TestDbMeta s_fixtureDbMeta;
private static int s_testCount = 1;