mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Fixed memory leak
This commit is contained in:
@@ -329,9 +329,7 @@ class ScriptSettings
|
|||||||
|
|
||||||
if (ImGui.Button("Detect IDEs..."))
|
if (ImGui.Button("Detect IDEs..."))
|
||||||
{
|
{
|
||||||
//BackgroundTask task = new BackgroundTask();
|
EditorApp.Instance.BackgroundTaskManager.StartBackgroundTask(new DetectIDEsBackgroundTask(this){ DeleteWhenEnded = true });
|
||||||
|
|
||||||
EditorApp.Instance.BackgroundTaskManager.StartBackgroundTask(new DetectIDEsBackgroundTask(this));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return settingsChanged;
|
return settingsChanged;
|
||||||
|
|||||||
Reference in New Issue
Block a user