Skip to content

Fail hard on using closed driver #1182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 19, 2025

Conversation

robsdedude
Copy link
Member

  • Raise DriverError on using the closed driver.
  • Calling driver.close() again is now a no-op.

Related: #949, #962

@robsdedude robsdedude force-pushed the closed-drivers-are-closed branch from 6b8fd52 to b3448e9 Compare May 16, 2025 13:36
Copy link
Contributor

@StephenCathcart StephenCathcart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@robsdedude robsdedude enabled auto-merge (squash) May 19, 2025 10:58
@robsdedude robsdedude merged commit 27f5e83 into neo4j:6.x May 19, 2025
20 checks passed
@robsdedude robsdedude deleted the closed-drivers-are-closed branch May 19, 2025 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants