From 0ba6e334cb31d6617cfc756be8238d6178697670 Mon Sep 17 00:00:00 2001 From: johndoknjas Date: Thu, 30 Jun 2022 18:18:47 -0700 Subject: [PATCH] Get the SF process to exit cleanly. --- stockfish/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/stockfish/models.py b/stockfish/models.py index 7480c243..f55d4d6c 100644 --- a/stockfish/models.py +++ b/stockfish/models.py @@ -751,6 +751,5 @@ def __del__(self) -> None: Stockfish._del_counter += 1 if self._stockfish.poll() is None: self._put("quit") - self._stockfish.kill() while self._stockfish.poll() is None: pass