Преглед изворни кода

wip: un-daemon tesseractnetwork

justheuristic пре 5 година
родитељ
комит
4cfbc058d1
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      tesseract/network/__init__.py

+ 1 - 0
tesseract/network/__init__.py

@@ -48,6 +48,7 @@ class TesseractNetwork(mp.Process):
 
     def shutdown(self) -> None:
         """ Shuts down the network process """
+        print('!shutdown called', self.is_alive(), flush=True)
         if self.is_alive():
             self.terminate()
         else: