Skip to content

Commit

Permalink
Revert "NPE observed in log while trying to reconnect a slave."
Browse files Browse the repository at this point in the history
This reverts commit 622af09.

Simiarly, reverting to unmask the root cause of JENKINS-20769.
These problems are indicative of a deeper problem, and shouldn't
be just swept under the rug.
  • Loading branch information
kohsuke committed Mar 27, 2014
1 parent ec1a7c8 commit d1e0fe0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/hudson/remoting/ProxyWriter.java
Expand Up @@ -173,9 +173,6 @@ public EOF(int oid) {
protected void execute(Channel channel) {
OutputStream os = (OutputStream) channel.getExportedObject(oid);
channel.unexport(oid);
if (os == null) {
return;
}
try {
os.close();
} catch (IOException e) {
Expand Down

0 comments on commit d1e0fe0

Please sign in to comment.