unoplatform/uno

Throw in case children are manipulated on non-UI thread

Open

#12.970 geöffnet am 21. Juli 2023

Auf GitHub ansehen
 (11 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (837 Forks)batch import
difficulty/starter 🚀good first issuekind/enhancementlow-hanging-🍒no-repro

Repository-Metriken

Stars
 (9.789 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 14T 8h) (130 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide