From 063cbfa415d69eef5a39d9e24cecd016b7e85b55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20L=C3=BCbe=C3=9F?= Date: Fri, 11 Jul 2025 12:54:04 +0200 Subject: [PATCH] Fixed assets leaking memory --- GlitchyEditor/src/EditorContentManager.bf | 1 + 1 file changed, 1 insertion(+) diff --git a/GlitchyEditor/src/EditorContentManager.bf b/GlitchyEditor/src/EditorContentManager.bf index a6ff3bc..d5d4b12 100644 --- a/GlitchyEditor/src/EditorContentManager.bf +++ b/GlitchyEditor/src/EditorContentManager.bf @@ -655,6 +655,7 @@ class EditorContentManager : IContentManager _identiferToHandle.Add(loadedAsset.Identifier, handle); file.[Friend]_loadedAsset = loadedAsset; + loadedAsset.ReleaseRef(); } return handle;