mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed Dispose case
This commit is contained in:
parent
15a2cdfeed
commit
3570d2a87b
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue