unoplatform/uno

Throw in case children are manipulated on non-UI thread

Open

#12,970 建立於 2023年7月21日

在 GitHub 查看
 (11 留言) (0 反應) (0 負責人)C# (837 fork)batch import
difficulty/starter 🚀good first issuekind/enhancementlow-hanging-🍒no-repro

倉庫指標

Star
 (9,789 star)
PR 合併指標
 (平均合併 14天 8小時) (30 天內合併 130 個 PR)

描述

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

貢獻者指南