瀏覽代碼

wip: un-daemon tesseractnetwork

justheuristic 5 年之前
父節點
當前提交
da80e359d2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tesseract/network/__init__.py

+ 1 - 1
tesseract/network/__init__.py

@@ -49,7 +49,7 @@ class TesseractNetwork(mp.Process):
     def shutdown(self) -> None:
         """ Shuts down the network process """
         if self.is_alive():
-            self.terminate()
+            self.kill()
         else:
             warnings.warn("Network shutdown has no effect: network process is already not alive")