New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NpgsqlConnection.GetSchema doesn't dispose connections #9
Comments
Thanks for the heads up, Mathieu! I'll have a look at this. |
Please, continue discussion here: http://pgfoundry.org/tracker/index.php?func=detail&aid=1011334&group_id=1000140&atid=590 |
kenjiuno
added a commit
to kenjiuno/Npgsql
that referenced
this issue
May 19, 2014
kenjiuno
added a commit
to kenjiuno/Npgsql
that referenced
this issue
May 19, 2014
kenjiuno
added a commit
to kenjiuno/Npgsql
that referenced
this issue
May 21, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I noticed that NpgsqlConnection.GetSchema will, for some cases, create a new NpgsqlConnection using the same connection string. In these cases, the new connection is never disposed. I think these connections should be wrapped in using block to prevent this case.
Mathieu
The text was updated successfully, but these errors were encountered: