Skip to content

Commit 60baf5e

Browse files
committed
Fix call of __exit__ (fixes #948)
1 parent 4d33cc6 commit 60baf5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ def sigwinch_handler(self, signum, frame):
611611

612612
def sigtstp_handler(self, signum, frame):
613613
self.scroll_offset = len(self.lines_for_display)
614-
self.__exit__()
614+
self.__exit__(None, None, None)
615615
self.on_suspend()
616616
os.kill(os.getpid(), signal.SIGTSTP)
617617
self.after_suspend()

0 commit comments

Comments
 (0)