Ver Fonte

wip: un-daemon tesseractnetwork

justheuristic há 5 anos atrás
pai
commit
da80e359d2
1 ficheiros alterados com 1 adições e 1 exclusões
  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")