Skip to content
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

NLog.Targets.DatabaseTarget leaks IDbConnection objects #609

Closed
dodexahedron opened this issue Feb 26, 2015 · 0 comments
Closed

NLog.Targets.DatabaseTarget leaks IDbConnection objects #609

dodexahedron opened this issue Feb 26, 2015 · 0 comments
Labels
database-target enhancement Improvement on existing feature
Milestone

Comments

@dodexahedron
Copy link
Contributor

In the CloseConnection() method, the IDbConnection object is closed and nulled out, but is never disposed.
According to a memory profiler attached to an instance of an application we have that uses NLog, this is resulting in a small memory leak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database-target enhancement Improvement on existing feature
Projects
None yet
Development

No branches or pull requests

3 participants