提交 b3bb9daa 编写于 作者: K Kohsuke Kawaguchi

there's a race condition that Thread.start() doesn't imply the thread to get going right away.

So consider the thread running as soon as we create it. This allows the UI to show the progressive log icon right away without the user reloading back later
上级 db23d8cf
......@@ -80,6 +80,7 @@ public abstract class TaskThread extends Thread {
this.owner = owner;
this.text = this.log = output.text;
this.listener = output.listener;
this.isRunning = true;
}
public Reader readAll() throws IOException {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册