You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fixes leaks in ResourceCache, Vulkan and X11
This commit is contained in:
@@ -7274,6 +7274,11 @@ void RenderingDeviceVulkan::finalize() {
|
||||
vertex_formats.erase(temp);
|
||||
}
|
||||
|
||||
for (int i = 0; i < framebuffer_formats.size(); i++) {
|
||||
vkDestroyRenderPass(device, framebuffer_formats[i].render_pass, nullptr);
|
||||
}
|
||||
framebuffer_formats.clear();
|
||||
|
||||
//all these should be clear at this point
|
||||
ERR_FAIL_COND(descriptor_pools.size());
|
||||
ERR_FAIL_COND(dependency_map.size());
|
||||
|
||||
Reference in New Issue
Block a user