mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
We call Python::attach in a few places. When invoked from the Slint event loop, those should be fine. But there are some that may fail, for example during gc. Fall back to using try_attach and return default values instead of causing a panic. Fixes #9984 |
||
|---|---|---|
| .. | ||
| briefcase | ||
| slint | ||