Repository navigation
Commit 7d12f22
committed
fix(desktop-gpui): retry thumbnail sweeps a capture hang cut short
A sweep sends its target list before capturing, and the receiver commits
that list's signature when the channel closes. A sweep that a hang ended
early was therefore recorded as complete, and with an unchanged window
list windows_stale() stayed false, so window thumbnails never retried
after the pause. Skip the commit while captures are paused so the picker
retries the sweep once the pause lifts.
Also add the pause duration with Duration::saturating_sub in the test,
per the repository's time-subtraction rule.1 parent 55c7a9c commit 7d12f22
2 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1269 | 1269 | | |
1270 | 1270 | | |
1271 | 1271 | | |
1272 | | - | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
1273 | 1275 | | |
1274 | | - | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
1275 | 1279 | | |
1276 | 1280 | | |
1277 | 1281 | | |
| |||
1316 | 1320 | | |
1317 | 1321 | | |
1318 | 1322 | | |
1319 | | - | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
1320 | 1326 | | |
1321 | 1327 | | |
1322 | 1328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1571 | 1571 | | |
1572 | 1572 | | |
1573 | 1573 | | |
1574 | | - | |
| 1574 | + | |
1575 | 1575 | | |
1576 | 1576 | | |
1577 | 1577 | | |
0 commit comments