mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Merge pull request #1807 from MineGame159/bump_allocator_fix
Fix BumpAllocator destructor when deleting large allocations with destructors
This commit is contained in:
commit
357f29f94a
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ namespace System
|
|||
{
|
||||
for (var obj in mLargeDtorAllocs)
|
||||
{
|
||||
delete obj;
|
||||
delete:null obj;
|
||||
FreeLarge(Internal.UnsafeCastToPtr(obj));
|
||||
}
|
||||
delete mLargeDtorAllocs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue