[Mono-bugs] [Bug 566421] Connections stay open after they are closed.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Mar 6 08:52:12 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=566421

http://bugzilla.novell.com/show_bug.cgi?id=566421#c1


Philippe Leybaert <philippe at activa.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philippe at activa.be

--- Comment #1 from Philippe Leybaert <philippe at activa.be> 2010-03-06 13:52:10 UTC ---
You shouldn't close a connection before the command has been disposed. When
SqliteConnection.Close() is called, and there is an "open" command object, it
will fail, but this exception is not passed on to the caller.

A separate bug (and patch) has been filed for this problem:
https://bugzilla.novell.com/show_bug.cgi?id=586062

In the meantime, make sure you Dispose() your SqliteCommand object before
closing the connection.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list