unoplatform/uno

Throw in case children are manipulated on non-UI thread

Open

#12.970 aberto em 21 de jul. de 2023

Ver no GitHub
 (11 comments) (0 reactions) (0 assignees)C# (837 forks)batch import
difficulty/starter 🚀good first issuekind/enhancementlow-hanging-🍒no-repro

Métricas do repositório

Stars
 (9.789 stars)
Métricas de merge de PR
 (Mesclagem média 14d 8h) (130 fundiu PRs em 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

Guia do colaborador