Commit 92c0e40
committed
Fix worker error cleanup and skip subprocess polling when idle
- CoalescingDrainableWorker: Add Effect.onError handler to remove key from
activeKeys when process fails, preventing drainKey/drain from hanging forever
- Terminal Manager: Skip subprocess polling when no running sessions exist,
avoiding unnecessary subprocess checker invocations during idle periods1 parent 0a77ebc commit 92c0e40
2 files changed
+28
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1377 | 1377 | | |
1378 | 1378 | | |
1379 | 1379 | | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
1380 | 1384 | | |
1381 | 1385 | | |
1382 | 1386 | | |
| |||
1434 | 1438 | | |
1435 | 1439 | | |
1436 | 1440 | | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
1437 | 1445 | | |
1438 | | - | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
1439 | 1455 | | |
1440 | 1456 | | |
1441 | 1457 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
81 | 91 | | |
82 | 92 | | |
83 | 93 | | |
| |||
0 commit comments