Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant