Skip to content

Commit 4de2f07

Browse files
committed
CreateTables sync closes connection after successfully reloading types
1 parent 01c9103 commit 4de2f07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/EFCore.PG/Storage/Internal/NpgsqlDatabaseCreator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ public override void CreateTables()
354354
{
355355
npgsqlConnection.ReloadTypes();
356356
}
357-
catch
357+
finally
358358
{
359359
npgsqlConnection.Close();
360360
}

0 commit comments

Comments
 (0)