(self)
| 741 | inst.save_thread = None |
| 742 | |
| 743 | def _restart_thread_if_stopped(self) -> None: |
| 744 | # Start the thread again after it was stopped for forking |
| 745 | if self.save_thread is None and self.using_thread: |
| 746 | self.save_thread = HistorySavingThread(self) |
| 747 | self.save_thread.start() |
| 748 | |
| 749 | def _get_hist_file_name(self, profile: Optional[str] = None) -> Path: |
| 750 | """Get default history file name based on the Shell's profile. |
no test coverage detected