Code to reproduce:
using System;
using System.Collections;
class Program
{
append HashSet<int> _data = .(8);
uint8[2048] _buffer;
public static int Main()
{
let prog = new:ScopedAlloc! Program();
while (true)
{
System.Threading.Thread.Sleep(1000);
}
return 0;
}
}
1 object memory leak detected: mBuckets in HashSet is marked as leaked
Also when there is another append field then also mSlots becomes marked as leaked
Seems that problem is the ScopedAlloc! - when removed the code does not trigger leak detector
Tested with: Beef IDE Version 0.43.6 (Nightly 03/04/2026) Build 9448878
Code to reproduce:
1 object memory leak detected:
mBuckets in HashSetis marked as leakedAlso when there is another append field then also
mSlotsbecomes marked as leakedSeems that problem is the
ScopedAlloc!- when removed the code does not trigger leak detectorTested with: Beef IDE Version 0.43.6 (Nightly 03/04/2026) Build 9448878