소스 검색

wip: un-daemon tesseractnetwork

justheuristic 5 년 전
부모
커밋
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: