Skip to content

Commit

Permalink
Call sync connection close instead of async
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Nov 22, 2021
1 parent 1a29900 commit af84702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EFCore.Relational/Storage/RelationalConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ public virtual bool Close()
}
else
{
CloseDbConnectionAsync();
CloseDbConnection();
}

wasClosed = true;
Expand Down

0 comments on commit af84702

Please sign in to comment.