Skip to content
Browse files

having the connection be disposed on connection close may be responsi…

…ble for issue #40 - not quite sure why dispose was being used here
  • Loading branch information...
1 parent ee33371 commit a6ba52396337c0a09f6c5bdbfee3b4047d84c6bc @nberardi nberardi committed Jun 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Connections/ConnectionProvider.cs
View
2 src/Connections/ConnectionProvider.cs
@@ -50,7 +50,7 @@ public virtual IConnection Open()
public virtual bool Close(IConnection connection)
{
if (connection.IsOpen)
- connection.Dispose();
+ connection.Close();
return true;
}

0 comments on commit a6ba523

Please sign in to comment.
Something went wrong with that request. Please try again.