Commit 94ef825
Dominik Witczak
Fix a lock-up which could occur if:
1) Window thread T1 became temporarily unresponsive, waiting for T2 to finish
2) Thread T2 tried to create an Anvil window instance for window owned by T1.
The lock-up occurred because GetWindowTextLength() actually maps to a window message which cannot
be handled because T1 is waiting on T2. There's no real solution other than just getting rid of
the circular dependency, meaning we need Anvil to stop trying to retrieve window name at Anvil::Window
creation time.1 parent 021b15b commit 94ef825
1 file changed
Lines changed: 5 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
97 | 95 | | |
98 | 96 | | |
99 | 97 | | |
| |||
116 | 114 | | |
117 | 115 | | |
118 | 116 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 117 | | |
131 | 118 | | |
132 | 119 | | |
133 | | - | |
| 120 | + | |
134 | 121 | | |
135 | 122 | | |
136 | 123 | | |
| |||
0 commit comments