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?
This commit is contained in:
Nekobit 2023-03-11 18:32:29 -05:00
parent b254873952
commit 123c5b0859
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}