1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Fixed Dispose case

This commit is contained in:
Brian Fiete 2021-12-28 09:26:11 -05:00
parent 15a2cdfeed
commit 3570d2a87b

View file

@ -505,7 +505,7 @@ namespace BeefPerf
subMenu = root.AddMenuItem("&Debug");
subMenu.AddMenuItem("GC Collect", null, new (menu) =>
{
if (Profiler.StartSampling() case .Ok(let id))
if (Profiler.StartSampling() case .Ok(var id))
{
GC.Collect();
id.Dispose();