Commit 4fd0bc6
ui: handle proxy task shutdown more reliably (#25)
Log server.run() errors in the UI background task instead of
silently discarding them.
Also abort the task if graceful shutdown times out, and make sure a
finished or stopped proxy task clears the running flag consistently
without wiping the last visible stats snapshot.
Co-authored-by: freeinternet865 <free@internet865.com>1 parent 819bbb7 commit 4fd0bc6
1 file changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1573 | 1573 | | |
1574 | 1574 | | |
1575 | 1575 | | |
1576 | | - | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
1577 | 1579 | | |
1578 | 1580 | | |
| 1581 | + | |
1579 | 1582 | | |
1580 | 1583 | | |
1581 | 1584 | | |
1582 | 1585 | | |
1583 | 1586 | | |
1584 | 1587 | | |
1585 | 1588 | | |
1586 | | - | |
| 1589 | + | |
1587 | 1590 | | |
1588 | 1591 | | |
1589 | 1592 | | |
1590 | 1593 | | |
1591 | 1594 | | |
1592 | 1595 | | |
1593 | | - | |
| 1596 | + | |
1594 | 1597 | | |
1595 | 1598 | | |
1596 | 1599 | | |
1597 | | - | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
1598 | 1603 | | |
1599 | 1604 | | |
1600 | 1605 | | |
1601 | 1606 | | |
1602 | 1607 | | |
1603 | 1608 | | |
1604 | | - | |
1605 | 1609 | | |
1606 | 1610 | | |
1607 | 1611 | | |
| |||
1762 | 1766 | | |
1763 | 1767 | | |
1764 | 1768 | | |
| 1769 | + | |
1765 | 1770 | | |
1766 | 1771 | | |
1767 | 1772 | | |
| |||
0 commit comments