Repository navigation
Commit c9a5abe
committed
Stage 3 review: finish the deferred teardown before letting go of the refusal
A pause that timed out left the application as the running thread expected to
find it: its layout, its key bindings, its erase-on-done setting. That was the
right thing to do while the thread was alive. Once the thread ended, that state
belonged to nobody, and simply dropping the refusal handed the next prompt an
application still dressed as the command display.
The teardown the pause could not do is finished at the moment the refusal
lifts, and the refusal lifts only if it could be. Both halves of the pause --
returning the borrowed application, and handing over the keys typed meanwhile
-- are now one method, so the deferred path cannot drift from the ordinary one.
The regression asserts the layout, bindings and erase setting are back, not
just that the refusal is gone. Checking only the refusal is what let this
through.1 parent aab9e23 commit c9a5abe
4 files changed
Lines changed: 57 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2155 | 2155 | | |
2156 | 2156 | | |
2157 | 2157 | | |
2158 | | - | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
2159 | 2162 | | |
2160 | 2163 | | |
2161 | 2164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
| 457 | + | |
469 | 458 | | |
470 | 459 | | |
471 | 460 | | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
472 | 494 | | |
473 | 495 | | |
474 | 496 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
976 | 976 | | |
977 | 977 | | |
978 | 978 | | |
979 | | - | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
980 | 985 | | |
981 | 986 | | |
982 | 987 | | |
983 | 988 | | |
984 | 989 | | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
985 | 994 | | |
986 | 995 | | |
987 | 996 | | |
988 | 997 | | |
989 | 998 | | |
| 999 | + | |
990 | 1000 | | |
991 | 1001 | | |
992 | 1002 | | |
993 | 1003 | | |
994 | 1004 | | |
995 | 1005 | | |
| 1006 | + | |
996 | 1007 | | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
997 | 1011 | | |
998 | 1012 | | |
999 | 1013 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
0 commit comments