Skip to content

Commit 5957ac6

Browse files
author
flowcore-platform
committed
fix(duckdb): 🐛 Ensure proper closure of DuckDB connection
1 parent 1dfad08 commit 5957ac6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/duckdb/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export async function initializeDuckDB(
2626

2727
export async function closeDuckDB() {
2828
if (db) {
29+
await connection?.close()
2930
await db.close()
3031
}
3132
}

0 commit comments

Comments
 (0)