We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cdfc12 commit 2694fdcCopy full SHA for 2694fdc
neo4j/__init__.py
@@ -314,6 +314,13 @@ def pipeline(self, **config):
314
315
def close(self):
316
""" Shut down, closing any open connections in the pool.
317
+
318
+ .. warning::
319
320
+ While the driver object is concurrency-safe, ``close`` is *not*.
321
+ Make sure you are not using the driver object or any resources
322
+ spawned from it (such as sessions or transactions) while calling
323
+ this method. Failing to do so results in unspecified behavior.
324
"""
325
self._pool.close()
326
0 commit comments