Closed consumer connection as well.
This commit is contained in:
1 parent
76c8431f07
commit
a2f05f4702
1 file changed
+2
@@ -105,6 +105,8 @@ public class Consumer implements Runnable
|
||||
LogBlock.log.log(Level.SEVERE, "[LogBlock Consumer] SQL exception", ex);
|
||||
} finally {
|
||||
try {
|
||||
if (conn != null)
|
||||
conn.close();
|
||||
if (state != null)
|
||||
state.close();
|
||||
} catch (SQLException ex) {
|
||||
|
||||
Reference in new issue
Block a user