ConnectionHandler: Remove a always-true if condition.

This commit is contained in:
Mike Hearn
2013-12-15 09:31:07 -08:00
parent 25a08c6d75
commit e9bf717409

View File

@@ -223,8 +223,7 @@ class ConnectionHandler implements MessageWriteTarget {
// This can happen eg if the channel closes while the thread is about to get killed
// (ClosedByInterruptException), or if handler.parser.receiveBytes throws something
log.error("Error handling SelectionKey: ", e);
if (handler != null)
handler.closeConnection();
handler.closeConnection();
}
}
}