提交 72e0bb4d 编写于 作者: K kohsuke

bug fix in the channel tear down

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15457 71c3de6d-444a-0410-be80-ed276b4c234a
上级 a41ed6e4
...@@ -69,8 +69,7 @@ public class FilePathTest extends TestCase { ...@@ -69,8 +69,7 @@ public class FilePathTest extends TestCase {
@Override @Override
protected void tearDown() throws Exception { protected void tearDown() throws Exception {
french.close(); french.close(); // this will automatically initiate the close on the other channel, too.
british.close();
french.join(); french.join();
british.join(); british.join();
executors.shutdown(); executors.shutdown();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册