timscott/catnap — Issue #3: DataReader should be enclosed by a using pattern
Author: franckleveque
Created: 2012-02-29 16:27:37+00:00
State: open

In Session.cs, the function ExecuteQuery should have a using pattern on the DataReader it use to dispose it at the end of the function.

Trying to implement a MySQL adapter fails with the current implementation as the datareader is not closed at the end of the function. this should also prevents some memory leaks.