unoplatform/uno

Throw in case children are manipulated on non-UI thread

Open

#12 970 ouverte le 21 juil. 2023

Voir sur GitHub
 (11 commentaires) (0 réactions) (0 assignés)C# (837 forks)batch import
difficulty/starter 🚀good first issuekind/enhancementlow-hanging-🍒no-repro

Métriques du dépôt

Stars
 (9 789 stars)
Métriques de merge PR
 (Merge moyen 14j 8h) (130 PRs mergées en 30 j)

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

Guide contributeur