src/eric7/Debugger/DebuggerInterfacePython.py

branch
eric7
changeset 9428
615d367f0140
parent 9414
6c12e2954ec2
child 9442
906485dcd210
child 9448
ea215f7afab3
diff -r 905e7af29101 -r 615d367f0140 src/eric7/Debugger/DebuggerInterfacePython.py
--- a/src/eric7/Debugger/DebuggerInterfacePython.py	Thu Oct 20 19:19:00 2022 +0200
+++ b/src/eric7/Debugger/DebuggerInterfacePython.py	Fri Oct 21 09:28:18 2022 +0200
@@ -639,11 +639,12 @@
         if not self.__connections:
             # no active connections anymore
             with contextlib.suppress(RuntimeError):
-                self.debugServer.signalLastClientExited()
                 # debug server object might have been deleted already
                 # ignore this
-            self.__autoContinued.clear()
-            self.debugServer.startClient()
+                self.debugServer.signalLastClientExited()
+                self.__autoContinued.clear()
+                if not self.__inShutdown:
+                    self.debugServer.startClient()
 
     def getDebuggerIds(self):
         """

eric ide

mercurial