Fixed removal of __master when the corresponding socket was closed. multi_processing

Tue, 04 Feb 2020 18:57:29 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 04 Feb 2020 18:57:29 +0100
branch
multi_processing
changeset 7394
8e772f275be8
parent 7392
b6674724612a
child 7397
f8d2f6dd6636

Fixed removal of __master when the corresponding socket was closed.

eric6/Debugger/DebuggerInterfacePython.py file | annotate | diff | comparison | revisions
--- a/eric6/Debugger/DebuggerInterfacePython.py	Mon Feb 03 19:54:02 2020 +0100
+++ b/eric6/Debugger/DebuggerInterfacePython.py	Tue Feb 04 18:57:29 2020 +0100
@@ -557,6 +557,8 @@
         for debuggerId in self.__connections:
             if self.__connections[debuggerId] is sock:
                 del self.__connections[debuggerId]
+                if debuggerId == self.__master:
+                    self.__master = None
                 break
         else:
             if sock in self.__pendingConnections:

eric ide

mercurial