unoplatform/uno

Throw in case children are manipulated on non-UI thread

Open

#12.970 aperta il 21 lug 2023

Vedi su GitHub
 (11 commenti) (0 reazioni) (0 assegnatari)C# (837 fork)batch import
difficulty/starter 🚀good first issuekind/enhancementlow-hanging-🍒no-repro

Metriche repository

Star
 (9789 star)
Metriche merge PR
 (Merge medio 14g 8h) (130 PR mergiate in 30 g)

Descrizione

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

Guida contributor