瀏覽代碼

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: