Fixed the memory access violation in AllocationManager

This commit is contained in:
2026-04-13 00:10:21 +09:00
parent 6f7f70a739
commit 4647cd4b95
2 changed files with 3 additions and 1 deletions

View File

@@ -171,7 +171,7 @@ public static unsafe class AllocationManager
private static volatile bool s_initialized;
private static nuint s_threadLocalStackSize;
private static readonly SpinLock s_stackLocker = new SpinLock(false);
private static SpinLock s_stackLocker = new SpinLock(false);
private static VirtualStack** s_ppStack;
private static int s_ppStackCount;
private static int s_ppStackCapacity;