From 29b6f37c2a78cabf8d077ab9f004e8edaac7b22c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20L=C3=BCbe=C3=9F?= Date: Sat, 15 Aug 2026 13:52:45 +0200 Subject: [PATCH] Fixed memory leak --- GlitchyEditor/src/Settings/Settings.bf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/GlitchyEditor/src/Settings/Settings.bf b/GlitchyEditor/src/Settings/Settings.bf index 29bc89c..1c97019 100644 --- a/GlitchyEditor/src/Settings/Settings.bf +++ b/GlitchyEditor/src/Settings/Settings.bf @@ -329,9 +329,7 @@ class ScriptSettings if (ImGui.Button("Detect IDEs...")) { - //BackgroundTask task = new BackgroundTask(); - - EditorApp.Instance.BackgroundTaskManager.StartBackgroundTask(new DetectIDEsBackgroundTask(this)); + EditorApp.Instance.BackgroundTaskManager.StartBackgroundTask(new DetectIDEsBackgroundTask(this){ DeleteWhenEnded = true }); } return settingsChanged;