fix tedious error handling
The previous commit incorrectly invalidated the connection, when we should really be removing the connection from the pool completely. This also fixes an error in the disconnect logic, which was erroneously checking connection.connected to identify an already disconnected connection.
Showing
with
12 additions
and
6 deletions
-
Please register or sign in to post a comment