599 if sock in self.__pendingConnections: |
600 if sock in self.__pendingConnections: |
600 self.__pendingConnections.remove(sock) |
601 self.__pendingConnections.remove(sock) |
601 |
602 |
602 if not self.__connections: |
603 if not self.__connections: |
603 # no active connections anymore |
604 # no active connections anymore |
604 try: |
605 with contextlib.suppress(RuntimeError): |
605 self.debugServer.signalLastClientExited() |
606 self.debugServer.signalLastClientExited() |
606 except RuntimeError: |
|
607 # debug server object might have been deleted already |
607 # debug server object might have been deleted already |
608 # ignore this |
608 # ignore this |
609 pass |
|
610 self.__autoContinued.clear() |
609 self.__autoContinued.clear() |
611 self.debugServer.startClient() |
610 self.debugServer.startClient() |
612 |
611 |
613 def getDebuggerIds(self): |
612 def getDebuggerIds(self): |
614 """ |
613 """ |