From 123c5b0859ce66d0d730f0c4135e8c3d210666c8 Mon Sep 17 00:00:00 2001 From: Nekobit Date: Sat, 11 Mar 2023 18:32:29 -0500 Subject: [PATCH] termpty: Fix issue with exiting on *BSD's. Noticable when the user had more than one tab and pressed ^D or exited their shell. Caused freeze up and lots of fd deletion errors in the console. Note: This could potentially be an issue for *BSD's in the ecore? --- src/bin/termpty.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bin/termpty.c b/src/bin/termpty.c index 178e3426..c90431a4 100644 --- a/src/bin/termpty.c +++ b/src/bin/termpty.c @@ -391,7 +391,6 @@ _fd_do(Termpty *ty, Ecore_Fd_Handler *fd_handler, Eina_Bool false_on_empty) // is closed ... but no longer just bsd's - i have seen this now on linux if (ty->pid == -1) { - ty->hand_fd = NULL; return ECORE_CALLBACK_CANCEL; }