Pārlūkot izejas kodu

wip: un-daemon tesseractnetwork

justheuristic 5 gadi atpakaļ
vecāks
revīzija
4cfbc058d1
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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: