提交 e15603cb 编写于 作者: K kohsuke

bug fix

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12962 71c3de6d-444a-0410-be80-ed276b4c234a
上级 4b039c3b
......@@ -267,7 +267,8 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
public void makeDisabled(boolean b) throws IOException {
if(disabled==b) return; // noop
this.disabled = b;
Hudson.getInstance().getQueue().cancel(this);
if(b)
Hudson.getInstance().getQueue().cancel(this);
save();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册