This commit is contained in:
2026-09-01 16:18:21 +02:00
parent e508025859
commit aad9a6d273
4 changed files with 11 additions and 10 deletions
@@ -105,6 +105,10 @@ class DeviceMonitor:
fds_to_remove = []
for fd, event in events:
if event & (select.POLLERR | select.POLLHUP | select.POLLNVAL):
fds_to_remove.append(fd)
continue
if event & select.POLLIN:
try:
while True: