Sfoglia il codice sorgente

wip: un-daemon tesseractnetwork

justheuristic 5 anni fa
parent
commit
4cfbc058d1
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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: