I just updated my very basic code to render a triangle mesh from gfx_hal 0.6 to 0.7. I fixed all the compilation problems, like using iterators, some more &mut references and the framebuffer now requiring slightly different setup. Then I ran the program. It works, but I now get memory leaks, which I do not get using the 0.6 version.
I tried using only one framebuffer and destroying it at the end of the program as well as creating and destroying the framebuffer every loop (which was the way I think you did it in 0.6?).
Is there a resource which needs to be cleaned up now, but didn't in 0.6, or what could be the reason?