bundles / IPython latest / IPython / core / history / HistoryManager / close
function
IPython.core.history:HistoryManager.close
source: /IPython/core/history.py:840
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