jcs
/subtext
/amendments
/61
console: Fix closing session by closing window
jcs made amendment 61 over 2 years ago
--- console.c Mon Jan 17 21:25:13 2022
+++ console.c Sat Jan 22 20:52:46 2022
@@ -252,8 +252,7 @@ void
console_close(struct focusable *focusable, EventRecord *event)
{
struct console *console = (struct console *)focusable->cookie;
- session_close(console->session);
- /* session_close will call back to console_close_from_session */
+ console->session->ending = 1;
}
/* session API */