Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions neo4j/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,13 @@ def pipeline(self, **config):

def close(self):
""" Shut down, closing any open connections in the pool.

.. warning::

While the driver object is concurrency-safe, ``close`` is *not*.
Make sure you are not using the driver object or any resources
spawned from it (such as sessions or transactions) while calling
this method. Failing to do so results in unspecified behavior.
"""
self._pool.close()

Expand Down