Skip to content

Commit

Permalink
@daniel-beck suggested a documentation improvement.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Apr 8, 2019
1 parent 92c5fe6 commit a21f83f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/main/java/hudson/util/StreamCopyThread.java
Expand Up @@ -64,8 +64,10 @@ public void run() {
// so there's no 'closeIn' flag.
in.close();
if (closeOut) {
// This mode is not currently used in core.
out.close();
} else {
// Leaving the stream open, but we want to make sure any final output is sent to the master.
out.flush();
}
}
Expand Down

0 comments on commit a21f83f

Please sign in to comment.