提交 b7c9af80 编写于 作者: K kohsuke

make sure the pipe writer always get terminated.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35607 71c3de6d-444a-0410-be80-ed276b4c234a
上级 a2355c2a
......@@ -967,10 +967,11 @@ public class Channel implements VirtualChannel, IChannel {
}
}
ois.close();
pipeWriter.shutdown();
} catch (IOException e) {
logger.log(Level.SEVERE, "I/O error in channel "+name,e);
terminate(e);
} finally {
pipeWriter.shutdown();
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册