From 40a70ecc93a211695973503e7d5438ffb5036313 Mon Sep 17 00:00:00 2001 From: Vargha Csongor Date: Thu, 18 Apr 2024 21:01:01 +0200 Subject: [PATCH] Remove wrong driver close --- backend/memgraph/init_database.go | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/memgraph/init_database.go b/backend/memgraph/init_database.go index cdd4a72..ce9e55a 100644 --- a/backend/memgraph/init_database.go +++ b/backend/memgraph/init_database.go @@ -14,7 +14,6 @@ func InitDatabase(dbUri, dbUser, dbPassword string) neo4j.DriverWithContext { } ctx := context.Background() - defer driver.Close(ctx) err = driver.VerifyConnectivity(ctx) if err != nil {