1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Merge pull request #37881 from qarmin/leak_vulkan

Fixes leaks with Vulkan device and instance
This commit is contained in:
Rémi Verschelde
2020-04-14 21:45:48 +02:00
committed by GitHub

View File

@@ -1503,4 +1503,6 @@ VulkanContext::~VulkanContext() {
if (queue_props) {
free(queue_props);
}
vkDestroyDevice(device, nullptr);
vkDestroyInstance(inst, nullptr);
}