1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-21 09:27:59 +02:00

Fix BumpAllocator destructor when deleting large allocations with destructors

This commit is contained in:
MineGame159 2023-02-25 22:44:00 +01:00
parent 7a2fbdfc30
commit 906248bd98

View file

@ -67,7 +67,7 @@ namespace System
{
for (var obj in mLargeDtorAllocs)
{
delete obj;
delete:null obj;
FreeLarge(Internal.UnsafeCastToPtr(obj));
}
delete mLargeDtorAllocs;