Fixed memory leak

This commit is contained in:
Simon Lübeß
2025-06-22 20:15:04 +02:00
parent 6af2e49387
commit bfd1754d14
+5 -1
View File
@@ -149,7 +149,11 @@ namespace GlitchyEditor
}
}
private GlobalDragDropTarget _dragDropTarget ~ _?.ReleaseRef();
private GlobalDragDropTarget _dragDropTarget ~
{
_.Unregister();
_?.ReleaseRef();
}
[AllowAppend]
public this(String[] args, EditorContentManager contentManager) : base("Editor")