mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-17 21:07:28 +00:00
ConnectionHandler: Remove a always-true if condition.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user