mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-11-06 00:15:06 +00:00
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.