Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential leak of Neo4j sessions and drivers #50

Open
fbiville opened this issue Sep 1, 2022 · 0 comments 路 May be fixed by #52
Open

Potential leak of Neo4j sessions and drivers #50

fbiville opened this issue Sep 1, 2022 · 0 comments 路 May be fixed by #52

Comments

@fbiville
Copy link

fbiville commented Sep 1, 2022

Neo4j Go driver maintainer here 馃憢
While I was experimenting with the upgrade to v5 alpha1, I noticed a couple of issues with the way the driver is currently used:

  • the session created with database.GetDB is never closed
  • the driver is never closed and cannot be, since it's not referenced anywhere when the above function exits
fbiville added a commit to fbiville/gitoops that referenced this issue Sep 1, 2022
@fbiville fbiville linked a pull request Sep 1, 2022 that will close this issue
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 a pull request may close this issue.

1 participant