#34 Dispose on MySQLConnection not correct implemented

open
nobody
None
5
2007-10-15
2007-10-15
Anonymous
No

unsafe void Dispose()
{
.....
}

you change to
override void Dispose(bool manged)
{
....
}

and you can use the using syntax in code for Disposing:

using(MySQLConnection conn = new MySQLConnection(string))
{
....
} // correct call of Dispose!

Greets Thomas

Discussion