DebugClientBase: fixed an issue with a client ending. multi_processing

Mon, 07 Dec 2020 19:53:15 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 07 Dec 2020 19:53:15 +0100
branch
multi_processing
changeset 7870
ab8f95bc7d2d
parent 7869
81561b95f9f3
child 7871
eb65864ca038

DebugClientBase: fixed an issue with a client ending.

eric6/DebugClients/Python/DebugClientBase.py file | annotate | diff | comparison | revisions
--- a/eric6/DebugClients/Python/DebugClientBase.py	Mon Dec 07 19:52:49 2020 +0100
+++ b/eric6/DebugClients/Python/DebugClientBase.py	Mon Dec 07 19:53:15 2020 +0100
@@ -1212,6 +1212,9 @@
                 else:
                     # give up for too many errors
                     break
+            except ValueError:
+                # the client socket might already be closed, i.e. its fd is -1
+                break
             
             # reset the select error counter
             selectErrors = 0

eric ide

mercurial