Skip to content

Fix inputhook file descriptor errors - #2112

Open
jw9829 wants to merge 1 commit into
prompt-toolkit:mainfrom
jw9829:fix-inputhook-fd-leak-2111
Open

jw9829 wants to merge 1 commit into
prompt-toolkit:mainfrom
jw9829:fix-inputhook-fd-leak-2111

Conversation

@jw9829

@jw9829 jw9829 commented Sep 30, 2026

Copy link
Copy Markdown

Fixes #2111. The inputhook can hit the select() fd limit when the process has a lot of open files, and it didn’t clean up properly after an interrupt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

filedescriptor out of range in select() and FD leak with inputhook

1 participant