Skip to content

Commit 090c7ba

Browse files
committed
Fix ci
1 parent 8f6ad0f commit 090c7ba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

VContainer.Standalone/VContainer.Standalone.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>net8.0</TargetFramework>
4+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
45
</PropertyGroup>
56
<ItemGroup>
67
<Compile Include="..\VContainer\Assets\VContainer\Runtime\**\*.cs"

VContainer/Assets/VContainer/Runtime/Internal/FreeList.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class FreeList<T> where T : class
2121
{
2222
public bool IsDisposed => lastIndex == -2;
2323

24-
readonly object gate = new();
24+
readonly object gate = new object();
2525
T?[] values;
2626
int lastIndex = -1;
2727

0 commit comments

Comments
 (0)