From 79e8e69e3e35fad35d4125a13faa30a4075e6a66 Mon Sep 17 00:00:00 2001 From: akrock Date: Wed, 3 Oct 2018 16:32:08 -0400 Subject: [PATCH] Fix for #72 Set _connectionState = ConnectionState.Closed on Close() --- Snowflake.Data/Client/SnowflakeDbConnection.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Snowflake.Data/Client/SnowflakeDbConnection.cs b/Snowflake.Data/Client/SnowflakeDbConnection.cs index cf21ac54c..5eb7a4eca 100755 --- a/Snowflake.Data/Client/SnowflakeDbConnection.cs +++ b/Snowflake.Data/Client/SnowflakeDbConnection.cs @@ -88,6 +88,7 @@ public override void Close() if (_connectionState != ConnectionState.Closed && SfSession != null) { SfSession.close(); + _connectionState = ConnectionState.Closed; } }