unoplatform/uno
View on GitHubThrow in case children are manipulated on non-UI thread
Open
#12,970 opened on Jul 21, 2023
difficulty/starter 🚀good first issuekind/enhancementlow-hanging-🍒no-repro
Repository metrics
- Stars
- (9,789 stars)
- PR merge metrics
- (Avg merge 14d 8h) (130 merged PRs in 30d)
Description
What would you like to be added:
Throwing an exception if anyone attempts to manipulate UIElement children on non-UI thread
Why is this needed:
Thread safety. Currently these attempts are normally executed, which may lead to race conditions (e.g. changing the visual tree while rendering is currently in progress)
For which Platform:
All