diff --git a/IPython/core/history.py b/IPython/core/history.py index bff1631..aaf8622 100644 --- a/IPython/core/history.py +++ b/IPython/core/history.py @@ -271,7 +271,7 @@ class HistorySaveThread(threading.Thread): if self.exit_now==True: break #printing for debug - print("Saving...") + #print("Saving...") self.IPython_object.save_history() def magic_history(self, parameter_s = ''): diff --git a/IPython/frontend/terminal/interactiveshell.py b/IPython/frontend/terminal/interactiveshell.py index 207323d..ef59c38 100644 --- a/IPython/frontend/terminal/interactiveshell.py +++ b/IPython/frontend/terminal/interactiveshell.py @@ -505,8 +505,6 @@ class TerminalInteractiveShell(InteractiveShell): self.shell.history_thread.cond.release() self.ask_exit() else: - self.shell.history_thread = HistorySaveThread(self.shell, 60, False) - self.shell.history_thread.start() self.ask_exit() #------------------------------------------------------------------------