slint/api/python
Simon Hausmann d743eda649 Python: Fix interaction with garbage collector when models are held in structs and properties
Models in Python have a strong reference to the Rust type, which have a strong reference back to the Python model. Therefore the __traverse__ and __clear__ protocol is implemented, to handle this cyclic reference.

The same protocol needs to be implemented for structs itself as well as basically all properties held by the interpreter.

Fixes #9706
2025-10-12 11:05:50 +02:00
..
briefcase Bump version number to 1.14.0 2025-09-11 14:01:14 +00:00
compiler Bump version number to 1.14.0 2025-09-11 14:01:14 +00:00
slint Python: Fix interaction with garbage collector when models are held in structs and properties 2025-10-12 11:05:50 +02:00