Ver código fonte

wip: un-daemon tesseractnetwork

justheuristic 5 anos atrás
pai
commit
4cfbc058d1
1 arquivos alterados com 1 adições e 0 exclusões
  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: