Fix removal of FD from select() set

This commit is contained in:
Marcin Kulik
2023-07-05 11:53:11 +02:00
parent 4030587787
commit 1514591628

View File

@@ -135,7 +135,7 @@ def record(
if not data:
if tty_stdin_fd in crfds:
fds.remove(tty_stdin_fd)
crfds.remove(tty_stdin_fd)
else:
handle_stdin_read(data)