diff --git a/core/src/main/java/hudson/TcpSlaveAgentListener.java b/core/src/main/java/hudson/TcpSlaveAgentListener.java index 54374a4978153f9cadd072355bf8b5ccf2245e5e..13fa38d49af4b25001d7bf5366c6282f49ba6f99 100644 --- a/core/src/main/java/hudson/TcpSlaveAgentListener.java +++ b/core/src/main/java/hudson/TcpSlaveAgentListener.java @@ -322,11 +322,6 @@ public final class TcpSlaveAgentListener extends Thread { new Listener() { @Override public void onClosed(Channel channel, IOException cause) { - try { - log.close(); - } catch (IOException e) { - e.printStackTrace(); - } if(cause!=null) LOGGER.log(Level.WARNING, "Connection #"+id+" for + " + nodeName + " terminated",cause); try {