mirror of
https://github.com/godotengine/godot
synced 2024-09-15 21:59:57 +00:00
Merge pull request #37881 from qarmin/leak_vulkan
Fixes leaks with Vulkan device and instance
This commit is contained in:
commit
84142f6a5f
|
@ -1503,4 +1503,6 @@ VulkanContext::~VulkanContext() {
|
|||
if (queue_props) {
|
||||
free(queue_props);
|
||||
}
|
||||
vkDestroyDevice(device, nullptr);
|
||||
vkDestroyInstance(inst, nullptr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue