Skip to content

Commit 9a8fd72

Browse files
committed
Adding explicit Close()
1 parent 7770981 commit 9a8fd72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

functions/Invoke-DBOQuery.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ function Invoke-DBOQuery {
432432
}
433433
finally {
434434
# close the connection even when interrupted by Ctrl+C
435+
$dataConnection.Close()
435436
$dataConnection.Dispose()
436437
}
437438
}

0 commit comments

Comments
 (0)