-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNOW-914532: Use async for session pool finalizer (#790)
### Description Regarding issue 648 The PR fixes a hanging issue due to a [possible deadlock](https://github.com/snowflakedb/snowflake-connector-net/blob/127343fb4f8a55597df3bf3f20e64e18975fcb62/Snowflake.Data/Core/RestRequester.cs#L54) by using async instead when the finalizer tries to close all the sessions in the pool ### Checklist - [x] Code compiles correctly - [x] Code is formatted according to [Coding Conventions](../CodingConventions.md) - [x] Created tests which fail without the change (if possible) - [x] All tests passing (`dotnet test`) - [x] Extended the README / documentation, if necessary - [x] Provide JIRA issue id (if possible) or GitHub issue id in PR name
- Loading branch information
1 parent
64b638c
commit 9237a3d
Showing
1 changed file
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters