Repository navigation
Commit a844f3c
Avoid recursive disconnection in the TextBox lifetime test
Remove test children through their owning collection instead of recursively disconnecting the TextBox template. Recursive disconnection causes a delayed native fail-fast in WinUI TextBoxView teardown, aborting later unrelated tests. Keep the weak-reference collection assertion intact.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 2fddb34 commit a844f3c
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
0 commit comments