Преглед на файлове

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")