src/eric7/CodeFormatting/BlackFormattingDialog.py

branch
eric7
changeset 9348
f61d71d95cb1
parent 9344
52990830b13f
child 9360
8b46571d9cc9
diff -r 52990830b13f -r f61d71d95cb1 src/eric7/CodeFormatting/BlackFormattingDialog.py
--- a/src/eric7/CodeFormatting/BlackFormattingDialog.py	Wed Sep 21 10:38:52 2022 +0200
+++ b/src/eric7/CodeFormatting/BlackFormattingDialog.py	Wed Sep 21 17:08:29 2022 +0200
@@ -345,15 +345,11 @@
             taskQueue.put("STOP")
 
         for worker in workers:
-            worker.join(2)  # 2 seconds timeout just in case
-            # TODO: monitor this change
-            if worker.exitcode is None:
-                worker.terminate()
+            worker.join()
             worker.close()
 
         taskQueue.close()
-        ##        doneQueue.close()
-        # TODO: monitor this change
+        doneQueue.close()
 
         self.__finish()
 

eric ide

mercurial