fix gthread worker

under Python 3.8 and sup exception is ValueError when fd has already
been cleared by the system.

fix #3029
This commit is contained in:
benoitc 2023-07-18 14:10:36 +02:00
parent 547f8561d9
commit 86d85cb369

View File

@ -180,6 +180,9 @@ class ThreadWorker(base.Worker):
except KeyError:
# already removed by the system, continue
pass
except ValueError:
# already removed by the system continue
pass
# close the socket
conn.close()