Update DebugSymbols

This commit is contained in:
2025-11-27 15:02:33 +09:00
parent b67569aa14
commit 8f4a2aa5d6
3 changed files with 14 additions and 11 deletions

View File

@@ -40,16 +40,18 @@
// }
//}
using Misaki.HighPerformance.LowLevel.Buffer;
using Misaki.HighPerformance.LowLevel.Utilities;
AllocationManager.EnableDebugLayer();
var arr1 = new Misaki.HighPerformance.LowLevel.Collections.UnsafeArray<int>(10, Misaki.HighPerformance.LowLevel.Buffer.Allocator.Persistent);
var arr2 = arr1;
arr2.CopyFrom(arr1.AsSpan());
arr1.Dispose();
//arr1.Dispose();
try
{
arr2[0] = 42; // This should throw an exception because arr1 has been disposed.
arr2.Dispose();
//arr2.Dispose();
AllocationManager.Dispose();
}
catch (Exception ex)
{