Tue, 05 Jul 2022 09:34:12 +0200
DebuggerInterfacePython: introduced an additional safeguard against meaningless error records during shutdown.
eric7/Debugger/DebuggerInterfacePython.py | file | annotate | diff | comparison | revisions |
--- a/eric7/Debugger/DebuggerInterfacePython.py Mon Jul 04 19:58:05 2022 +0200 +++ b/eric7/Debugger/DebuggerInterfacePython.py Tue Jul 05 09:34:12 2022 +0200 @@ -590,7 +590,9 @@ if debuggerId in self.__autoContinued: self.__autoContinued.remove(debuggerId) if not self.__inShutdown: - self.debugServer.signalClientDisconnected(debuggerId) + with contextlib.suppress(RuntimeError): + # can be ignored during a shutdown + self.debugServer.signalClientDisconnected(debuggerId) break else: if sock in self.__pendingConnections: