src/eric7/Debugger/DebuggerInterfacePython.py

branch
eric7
changeset 10517
aecd5a8c958c
parent 10464
30de2b1bee37
child 10534
783d835d7fe4
child 10551
d80184d38152
equal deleted inserted replaced
10516:72baef0baa76 10517:aecd5a8c958c
662 Private slot handling a socket disconnecting. 662 Private slot handling a socket disconnecting.
663 663
664 @param sock reference to the disconnected socket 664 @param sock reference to the disconnected socket
665 @type QTcpSocket 665 @type QTcpSocket
666 """ 666 """
667 for debuggerId in self.__connections: 667 for debuggerId in list(self.__connections):
668 if self.__connections[debuggerId] is sock: 668 if self.__connections[debuggerId] is sock:
669 del self.__connections[debuggerId] 669 del self.__connections[debuggerId]
670 if debuggerId == self.__mainDebugger: 670 if debuggerId == self.__mainDebugger:
671 self.__mainDebugger = None 671 self.__mainDebugger = None
672 if debuggerId in self.__autoContinued: 672 if debuggerId in self.__autoContinued:

eric ide

mercurial