neo4j-python-driver icon indicating copy to clipboard operation
neo4j-python-driver copied to clipboard

[4.4] Fix exception handling in `Session.close()`

Open robsdedude opened this issue 3 years ago • 0 comments

Exceptions raised during some cleanup steps in session.close could have left the session in an unclean state. In particular, the session wouldn't be marked as closed. Moreover, errors encountered when consuming outstanding auto-commit results during session closure were silently swallowed.

Back port of https://github.com/neo4j/neo4j-python-driver/pull/800

robsdedude avatar Sep 12 '22 15:09 robsdedude