Skip to content

Commit

Permalink
fix: remove automatic reset from python client connection (#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Kent authored Jul 21, 2021
1 parent 914f7fb commit e5bab30
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cryptol-remote-api/python/cryptol/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, *,
Expand Down

0 comments on commit e5bab30

Please sign in to comment.