Explorar o código

wip: un-daemon tesseractnetwork

justheuristic %!s(int64=5) %!d(string=hai) anos
pai
achega
4cfbc058d1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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: