eric6/DebugClients/Python/MultiprocessingExtension.py

changeset 7893
29d2c2e5b948
parent 7882
617cc27f11af
child 7894
4370a8b30648
--- a/eric6/DebugClients/Python/MultiprocessingExtension.py	Thu Dec 17 18:17:33 2020 +0100
+++ b/eric6/DebugClients/Python/MultiprocessingExtension.py	Fri Dec 18 12:24:33 2020 +0100
@@ -72,7 +72,15 @@
                     sys.stdout.flush()
                     raise
             
-            return _originalBootstrap(self, *args, **kwargs)
+            exitcode = _originalBootstrap(self, *args, **kwargs)
+            
+            if (
+                _debugClient.debugging and
+                _debugClient.multiprocessSupport
+            ):
+                _debugClient.progTerminated(exitcode, "process finished")
+            
+            return exitcode
     
     if sys.version_info >= (3, 4):
         _originalProcess._bootstrap = ProcessWrapper._bootstrap

eric ide

mercurial