-
-
Notifications
You must be signed in to change notification settings - Fork 441
Closed
Labels
area-VulkanenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
BuildTools-generated Pfn* structures implement IDisposable so that SilkMarshal.Free
can be called to unpin the delegate and allow the GC to have at it. The Vulkan Pfn* structures, which are manually written, do not implement this at the moment and cause (very minor) memory leaks.
The work is:
- look at how the Pfn* structures in one of the other libraries (for example SDL) does it
- make the Pfn* structures in Vulkan inherit from IDisposable
- implement it
- optionally check OpenXR (and maybe OpenGL) as well
Community contributions welcome.
Metadata
Metadata
Assignees
Labels
area-VulkanenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed