diff --git a/cryptol-remote-api/python/cryptol/connection.py b/cryptol-remote-api/python/cryptol/connection.py index 6581ee0d8..f0fef54e6 100644 --- a/cryptol-remote-api/python/cryptol/connection.py +++ b/cryptol-remote-api/python/cryptol/connection.py @@ -258,14 +258,6 @@ def reset_server(self) -> None: CryptolResetServer(self) self.most_recent_result = None - def __del__(self) -> None: - # when being deleted, ensure we don't have a lingering state on the server - if self.most_recent_result is not None: - try: - CryptolReset(self) - except Exception: - pass - class CryptolDynamicSocketProcess(DynamicSocketProcess): def __init__(self, command: str, *,