closing copies of STDOUT IO streams would cause JRuby to hang - fixes #235
caller tracing stacks have changed with JRuby 9
The fix here is to no longer create copies of STDOUT and STDERR. Instead, we just check if the underlying IO object is one of these two and then don't bother closing them.
This PR includes two fixes for JRuby:
STDOUT
IO streams would cause JRuby to hang - fixes #235The fix here is to no longer create copies of
STDOUT
andSTDERR
. Instead, we just check if the underlying IO object is one of these two and then don't bother closing them.