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

贡献者指南