Files
tty7/src
l0ng-ai 523d834eb8 fix(switcher): defer host-menu disconnect so it cannot abort the app (#1162)
The host menu's Disconnect ran RemoteLinks::disconnect inside an update
of the window's own Tty7App. The disconnect detaches the panes of every
window on that machine by reading each window's app, this one included,
which panicked on the double lease. The panic happened inside the
mouse-up platform callback, where it cannot unwind, so the process
aborted and every window went down with it.

Defer the disconnect until the update is over, and add a regression test
that reproduces the original panic without the fix.
2026-10-13 00:36:26 +08:00
..