Repository navigation
Commit fa487b9
committed
flush the modal tail when the finalizer is the one that sees the exit
the collector polls for the exit code and the finalizer polls again after it. a
process that ends between those two polls means the collector kept a partial
character back for a next window, and then the finalizer drops the entry and the
bytes go with it
that is worse than what was there before my change. the old code replaced those
bytes in the same window so you saw a question mark. this way the output just
loses them quietly
so the finalizer closes the tail before it removes the entry. added a test for
it, which gives hi instead of hi ? on the last commit
also put back the pytest.mark.asyncio i dropped off the split test last time.
asyncio_mode is auto so it still ran, but every other test here carries it1 parent 91f5fb9 commit fa487b9
2 files changed
Lines changed: 61 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1119 | 1119 | | |
1120 | 1120 | | |
1121 | 1121 | | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
1122 | 1130 | | |
1123 | 1131 | | |
1124 | 1132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4444 | 4444 | | |
4445 | 4445 | | |
4446 | 4446 | | |
| 4447 | + | |
| 4448 | + | |
| 4449 | + | |
| 4450 | + | |
| 4451 | + | |
| 4452 | + | |
| 4453 | + | |
| 4454 | + | |
| 4455 | + | |
| 4456 | + | |
| 4457 | + | |
| 4458 | + | |
| 4459 | + | |
| 4460 | + | |
| 4461 | + | |
| 4462 | + | |
| 4463 | + | |
| 4464 | + | |
| 4465 | + | |
| 4466 | + | |
| 4467 | + | |
| 4468 | + | |
| 4469 | + | |
| 4470 | + | |
| 4471 | + | |
| 4472 | + | |
| 4473 | + | |
| 4474 | + | |
| 4475 | + | |
| 4476 | + | |
| 4477 | + | |
| 4478 | + | |
| 4479 | + | |
| 4480 | + | |
| 4481 | + | |
| 4482 | + | |
| 4483 | + | |
| 4484 | + | |
| 4485 | + | |
| 4486 | + | |
| 4487 | + | |
| 4488 | + | |
| 4489 | + | |
| 4490 | + | |
| 4491 | + | |
| 4492 | + | |
| 4493 | + | |
| 4494 | + | |
| 4495 | + | |
| 4496 | + | |
| 4497 | + | |
| 4498 | + | |
| 4499 | + | |
4447 | 4500 | | |
4448 | 4501 | | |
4449 | 4502 | | |
| |||
0 commit comments