bundles / IPython 9.17.0 / IPython / core / history / HistoryManager / close
function
IPython.core.history:HistoryManager.close
Signature
def close(self) → NoneSummary
Stop the saving thread and close the database connection.
Extended Summary
This is the deterministic counterpart to relying on garbage collection: it shuts the saving thread down (which closes its private connection) and then closes the manager's own connection. Safe to call more than once.
Aliases
IPython.core.history.HistoryManager.close