slint/internal/compiler/generator
Simon Hausmann f0c14bea54 Fix memory leak with repeated elements in generated Rust code
The generated code provides a PinnedDrop implementation that calls
free_component_item_graphics_resources. We must annotate the components
correctly to make sure to the drop implementation is called and graphics
resources are released.

Thanks to Jocelyn!

Fixes #1261
2022-06-08 15:56:47 +02:00
..
cpp.rs Revert "Rename the free_graphics_resources to component_destroyed" 2022-05-31 10:48:24 +02:00
rust.rs Fix memory leak with repeated elements in generated Rust code 2022-06-08 15:56:47 +02:00