Răsfoiți Sursa

wip: un-daemon tesseractnetwork

justheuristic 5 ani în urmă
părinte
comite
da80e359d2
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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")