Fix big memory leak in TempAllocator

wip/source-generators
copygirl 2 years ago
parent 2180790852
commit 10d7210ff0
  1. 2
      src/gaemstone/Utility/Allocators.cs

@ -63,7 +63,7 @@ public static class TempAllocator
: IAllocator
, IDisposable
{
private readonly ArenaAllocator _allocator = new(Capacity);
private readonly ArenaAllocator _allocator;
private readonly int _start;
public ResetOnDispose(ArenaAllocator allocator, int start)

Loading…
Cancel
Save