Fixed reconnecting after MySQL disconnect

This commit is contained in:
Robin Kupper
2011-07-15 02:34:47 +02:00
parent 11b48a0093
commit fcb9949be2

View File

@@ -322,6 +322,7 @@ public class Consumer extends TimerTask
try {
if (state != null)
state.close();
if (conn != null)
conn.close();
} catch (final SQLException ex) {
log.log(Level.SEVERE, "[LogBlock Consumer] SQL exception on close", ex);