Просмотр исходного кода

wip: un-daemon tesseractnetwork

justheuristic 5 лет назад
Родитель
Сommit
86f953f35c
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      tesseract/network/__init__.py

+ 0 - 2
tesseract/network/__init__.py

@@ -26,7 +26,6 @@ class TesseractNetwork(mp.Process):
             self.run_in_background(await_ready=True)
 
     def run(self) -> None:
-        print('!started', self.is_alive(), self.pid, flush=True)
         loop = asyncio.new_event_loop()
         asyncio.set_event_loop(loop)
         loop.run_until_complete(self.server.listen(self.port))
@@ -49,7 +48,6 @@ class TesseractNetwork(mp.Process):
 
     def shutdown(self) -> None:
         """ Shuts down the network process """
-        print('!shutdown called', self.is_alive(), self.pid, flush=True)
         if self.is_alive():
             self.terminate()
         else: