Skip to content

Commit

Permalink
Merge pull request #86 from doronz88/bugfix/spawn_atexit
Browse files Browse the repository at this point in the history
client: bugfix: remove atexit from _prepare_terminal
  • Loading branch information
doronz88 authored Feb 21, 2022
2 parents a5c84c7 + dfde586 commit 398bb99
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rpcclient/rpcclient/client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import ast
import atexit
import builtins
import contextlib
import logging
Expand Down Expand Up @@ -387,7 +386,6 @@ def _prepare_terminal(self):
return
fd = sys.stdin
self._old_settings = termios.tcgetattr(fd)
atexit.register(self._restore_terminal)
tty.setraw(fd)

def _recvall(self, size: int) -> bytes:
Expand Down

0 comments on commit 398bb99

Please sign in to comment.