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

Potential leak of Neo4j sessions and drivers #50

@fbiville

Description

@fbiville

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions